From: Jim Weirich Date: 2004-02-12T23:15:06+09:00 Subject: Re: XML/HTML display code for Ruby Paul Brannan said: > On Thu, Feb 12, 2004 at 10:14:57PM +0900, Simon Strandgaard wrote: >> If you have VIM you can convert your ruby file to html. >> vim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" filename.rb >> And it produces a 'filename.rb.html' file as output. > > Seems like it would be easier to use code2html: > http://www.palfrader.org/code2html/ source2html is also an option ... http://onestepback.org/software/source2html -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)