You are currently viewing an archive of this site. To view new content and see what I’ve been up to lately please check the main page at http://www.aidanf.net
I noticed this post today about formatting ruby code for html (via rubynow)
I’ve been using GNU source-highlight to do this.
If you are using textmate you can capture the output directly. Highlight the ruby code you want to convert and run the command Text->Filter-Through-Command.
In the command text box enter
source-highlight -sruby -fxhtml