Skip to content

Instantly share code, notes, and snippets.

@nesquena
Created November 29, 2011 21:51
Show Gist options
  • Save nesquena/1406718 to your computer and use it in GitHub Desktop.
Save nesquena/1406718 to your computer and use it in GitHub Desktop.
Github Flavored Markdown in YARD
@dirtyhenry
Copy link

I can't make a GFM table work with any of these solutions. Only block fences are working ok. :(

@s2t2
Copy link

s2t2 commented Oct 4, 2015

this works for ruby gem yard documentation (with gems listed in gemspec instead of Gemfile). thanks!

@topherfangio
Copy link

I'm using Yard 0.9.2 but having trouble getting this to work. It might be because I am developing a gem instead of a regular app, but doing the above worked for me. I did not need to include the github-markup gem, just the redcarpet one and update the .yardopts with -m markdown -M redcarpet.

@topherfangio
Copy link

Quick note, you'll also need yard-coderay if you want it to highlight languages other than Ruby: lsegal/yard#1278

@noraj
Copy link

noraj commented Nov 30, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment