add .litcoffee to the list of Markdown file extensions
Coby Chapple coby@cobychapple.com
Fri, 05 Apr 2013 13:24:27 +0100
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
lib/github/markups.rb
→
lib/github/markups.rb
@@ -1,17 +1,17 @@
-MD_FILES = /md|mkdn?|mdwn|mdown|markdown/ +MD_FILES = /md|mkdn?|mdwn|mdown|markdown|litcoffee/ if markup('github/markdown', MD_FILES) do |content| GitHub::Markdown.render(content) end elsif markup(:redcarpet, MD_FILES) do |content| RedcarpetCompat.new(content).to_html - end + end elsif markup(:rdiscount, MD_FILES) do |content| RDiscount.new(content).to_html - end + end elsif markup(:maruku, MD_FILES) do |content| Maruku.new(content).to_html - end + end elsif markup(:kramdown, MD_FILES) do |content| Kramdown::Document.new(content).to_html end