Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

Code formatting in Hangout messages #1078

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe in detail the new feature you would like to see added
-> What new capabilities would you like to see added to the API?

Code formatting in Hangout messages

Describe your use case, or some example use cases, for this feature
->Why do you want this feature, and how might it be valuable not just to
your application, but to many developers?

Users should be able to escape and format code similar to github's markdown. In 
github, you can format code by adding 3 single quotes before and after your 
code, and optionally define the language.

For example:

```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html

Original issue reported on code.google.com by `dpastu...@gmail.com` on 23 Jan 2015 at 8:52
GoogleCodeExporter commented 9 years ago
My mistake. Github uses tildes ` not single quotes '

Original comment by dpastu...@gmail.com on 23 Jan 2015 at 8:54

GoogleCodeExporter commented 9 years ago
I would add, full support for Markdown.

Original comment by alberto....@gmail.com on 6 Feb 2015 at 9:56