From: Mike Stok Date: 2006-06-11T07:26:19+09:00 Subject: Re: Colored syntax output On 10-Jun-06, at 5:48 PM, Robert MannI wrote: > Hello! > > Maybe someone here knows how to do this: > > I have some Ruby code, and I need it in a syntax colored HTML > output format. > > Is there any easy way to do this, maybe the "ruby" binary can do this? If you have vim then this: vim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" file.rb should generate file.rb.html Hope this helps, Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply.