May
19th
Mon
19th
Simple Ruby markdown script using BlueCloth and RubyPants
#!/usr/local/bin/ruby
require 'rubygems'
require 'bluecloth'
require 'rubypants'
puts RubyPants.new(BlueCloth.new(File.open(ARGV.shift).read).to_html).to_html