-
-
Save 1syo/7307402868e8d3f6a753096f5319f684 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
begin | |
require 'github/markup' | |
rescue LoadError | |
Gem.install 'github-markup' | |
retry | |
end | |
begin | |
require 'redcarpet' | |
rescue LoadError | |
Gem.install 'redcarpet' | |
retry | |
end | |
p GitHub::Markup.render('README.markdown', "* One\n* Two") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment