markup
markup copied to clipboard
error using example provided in readme
Main readme has this example:
require 'github/markup'
GitHub::Markup.render_s(GitHub::Markups::MARKUP_MARKDOWN, "* One\n* Two")
But the value that GitHub::Markups::MARKUP_MARKDOWN returns is :markdown, however in the renderer (https://github.com/github/markup/blob/master/lib/github/markup/markdown.rb)
there is no such value, hence error no suitable markdown gem found is raised.
I think the main readme should be updated.
just ran into the same thing
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.