X-Git-Url: https://repo.or.cz/git-blog.git/blobdiff_plain/7f07e67dc890210f119176222c447b43ed32c60b..HEAD:/lib/git-blog/parser/markdown.rb diff --git a/lib/git-blog/parser/markdown.rb b/lib/git-blog/parser/markdown.rb index 6aa8a13..bbaefad 100644 --- a/lib/git-blog/parser/markdown.rb +++ b/lib/git-blog/parser/markdown.rb @@ -1,18 +1,18 @@ -# rpeg-markdown +# Maruku begin - require 'markdown' + require 'maruku' + Markdown = Maruku -# Discount +# rpeg-markdown rescue LoadError begin - require 'rdiscount' - Markdown = RDiscount + require 'markdown' - # Maruku + # Discount rescue LoadError begin - require 'maruku' - Markdown = Maruku + require 'rdiscount' + Markdown = RDiscount # BlueCloth rescue LoadError