all repos — markup @ ef54c88f85cde04b717c3b13e1b2cd1084158ff4

The code we use to render README.your_favorite_markup

lib/github/markup/rdoc.rb (view raw)

 1require "rdoc/markup/to_html"
 2
 3module GitHub
 4  module Markup
 5    class RDoc
 6      def initialize(content)
 7        @content = content
 8      end
 9
10      def to_html
11        h = ::RDoc::Markup::ToHtml.new
12        h.convert(@content)
13      end
14    end
15  end
16end