topfunky (owner)

Revisions

gist: 112387 Download_button fork
public
Public Clone URL: git://gist.github.com/112387.git
Embed All Files: show embed
snippet.rb #
1
2
3
4
5
6
7
8
9
#!/usr/bin/env ruby
 
# Textileise things.
 
# Take Textile markup on STDIN, and output HTML to STDOUT
require "rubygems"
require "redcloth"
print (RedCloth.new STDIN.read).to_html