Commit Graph

4 Commits

Author SHA1 Message Date
Conrad Irwin 4bcabfad5d Highlight code in comments as ruby regardless
Before this change, ? Array.try_convert would highlight the code
snippets as C, but because it's actually a ruby method all the code in
the comment is ruby.
2012-07-09 15:20:29 -07:00
John Mair 970ca06d79 highlight 'raise' yard tag 2012-06-23 21:13:44 +12:00
Conrad Irwin ac54ebd795 Preserve backticks and don't double highlight [Fixes #562]
Before this change all `` pairs were removed from documentation which
makes the ``foo'' quoting style used by some authors look very odd.

We'd also try to syntax highlight code inside `` inside code, which
caused nasty rendering errors as the escape sequences got tangled up.
2012-05-05 00:52:38 -07:00
John Mair fa19e73d93 added documentation_helpers.rb 2012-04-13 02:23:33 +12:00