all repos — markup @ ef7723962b2220f5fe7bd0e88ed299c60cbda784

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