GitHub Markup ============= require 'github/markup' GitHub::Markup.render('README.markdown', "* One\n* Two") Or, more realistically: require 'github/markup' GitHub::Markup.render(file, File.read(file))