Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

$ github-markup FILE.md

commit 3fd382fdbab5853fa2017af7650200cecd1eb96b 1 parent d8d6cbb
Chris Wanstrath defunkt authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 bin/github-markup
10 bin/github-markup
View
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
+require 'github/markup'
+
+if ARGV[0] && File.exists?(file = ARGV[0])
+ puts GitHub::Markup.render(file)
+else
+ puts "usage: #$0 FILE"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.