all repos — markup @ 92fb3cd0a4b44875d97ec095aa88279c0d21cec3

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