all repos — markup @ 12d00626e726922d0898e9ddb675cc0678b7cf36

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