1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Conrad Irwin
1c2d77e7fc Fix documentation rendering edge-cases [Fixes #795]
Also added some notably absent tests
2013-02-01 01:30:07 -08:00
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