markup icon indicating copy to clipboard operation
markup copied to clipboard

error using example provided in readme

Open EdOverride opened this issue 4 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