gitlabhq/gitlabhq — comment on commit 7b7549bea6ab59676e85460bb9ab83b8403d66f2
File:  line 0
By ariejan:

Maybe add support for plain text (no extension) and rdoc ( .rdoc extension):

require 'rdoc'
h = RDoc::Markup::ToHtml.new
puts h.convert(input_string)