You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is basically because we switched to kramdown (due to #9). Everything looks find on RubyDoc.info (which is weird), but locally it looks like garbage.
The text was updated successfully, but these errors were encountered:
It just occurred to me why everything looks fine on RubyDoc.info: they're using RedCarpet. We could use RedCarpet in MRI and kramdown in JRuby, but that's definitely a hack:
(We'd also have to remove --markup-provider=kramdown from .yardopts. It'll just use whatever's available.)
I surveyed YARD's Markdown providers. BlueCloth, RDiscount, RedCarpet, and Ruby PEG Markdown all use C libraries behind the scenes, so they're out. That leaves kramdown, Maruku, and RDoc. Maruku doesn't support either fenced code block syntax, so it's out. RDoc appears to work reasonably well with the following caveats:
This is basically because we switched to kramdown (due to #9). Everything looks find on RubyDoc.info (which is weird), but locally it looks like garbage.
The text was updated successfully, but these errors were encountered: