all repos — markup @ 1d189e7da7f82750bc2b9d8b326a50b9dff21925

The code we use to render README.your_favorite_markup

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

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