lib/github/markup/markdown.rb in github-markup-1.4.9 vs lib/github/markup/markdown.rb in github-markup-1.5.0
- old
+ new
@@ -26,10 +26,12 @@
BlueCloth.new(content).to_html
},
}
def initialize
- super(/md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee/i)
+ super(
+ /md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee/i,
+ ["Markdown", "RMarkdown", "Literate CoffeeScript"])
end
def load
return if @renderer
MARKDOWN_GEMS.each do |gem_name, renderer|