Skip to content

Instantly share code, notes, and snippets.

@nesquena
Created November 29, 2011 21:51
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
@fosdev
Copy link

fosdev commented Apr 17, 2013

Old information. See point 15 in Changelog here: http://rubydoc.info/docs/yard/file/docs/WhatsNew.md#What_s_New_in_0_7_x_

@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