Forums | Users |
Search | Signup | Login

Better syntax highlighting using Alex Gorbatchev's SyntaxHighlighter

Subscribe to Better syntax highlighting using Alex Gorbatchev's SyntaxHighlighter 1 post, 1 voice

 
Avatar Hendy Irawan 146 post(s)

Often we post code in messages, tickets, etc.

It would be great if we can format them as syntax highlighted code.

See: http://alexgorbatchev.com/wiki/SyntaxHighlighter

I don’t really mind having to type

< pre class="brush: ruby" > ... </pre> </pre>

Although it’d be great if there’s a shorthand, e.g. [ruby]puts “Hi”[/ruby]