README.md (view raw)
1GitHub Markup 2============= 3 4 require 'github/markup' 5 GitHub::Markup.render('README.markdown', "* One\n* Two") 6 7Or, more realistically: 8 9 require 'github/markup' 10 GitHub::Markup.render(file, File.read(file))