From: Karl von Laudermann Date: 2008-04-16T01:00:10+09:00 Subject: Re: write ruby code on a blog On Apr 15, 8:10 am, aidy wrote: > Hi, > > Anyone got any ideas on how to easily write and correctly display > (with syntax highlighting) Ruby code on a blog? In the past I've done this using Vim. Vim has a command called something like TOhtml, which will take the displayed file (such as ruby code) and generate an html file that displays the code with the same syntax coloring that Vim itself displays the code in. I've done this manually by loading the desired file into Vim, executing the command, then saving the resulting file to an .html file, but I wouldn't be surprised if there's a way to automate it.