all repos — markup @ b29b70118618a7f1a67567fd4ba3331fc3e26331

The code we use to render README.your_favorite_markup

lib/github/markups.rb (view raw)

1GitHub::Markup.instance_eval do
2  markup(:markdown, /md|mkdn?|markdown/) do |content|
3    Markdown.new(content).to_html
4  end
5
6  markup(:redcloth, /textile/) do |content|
7    RedCloth.new(content).to_html
8  end
9end