all repos — markup @ bf7155e8ccd681171681e8b467f8836bc6e86c7a

The code we use to render README.your_favorite_markup

bin/github-markup (view raw)

 1#!/usr/bin/env ruby
 2
 3$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
 4require 'github/markup'
 5
 6if ARGV[0] && File.exists?(file = ARGV[0])
 7  puts GitHub::Markup.render(file)
 8else
 9  puts "usage: #$0 FILE"
10end