markup icon indicating copy to clipboard operation
markup copied to clipboard

error using example provided in readme

Open EdOverride opened this issue 5 years ago • 1 comments

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.

EdOverride avatar Mar 26 '20 13:03 EdOverride

just ran into the same thing

jtoy avatar Nov 06 '22 12:11 jtoy

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.

github-actions[bot] avatar Nov 06 '24 12:11 github-actions[bot]