From: Elliot Temple Date: 2006-06-11T07:18:32+09:00 Subject: Re: Colored syntax output On Jun 10, 2006, at 2: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? enscript --color --language=html -Eruby --output=blah.html blah.rb you may need to add knowledge of ruby syntax to the appropriate enscript file. i remember this involved finding the ruby-related stuff with google and pasting it into a file. you may also need to install enscript. i didn't. i'm on OS X. -- Elliot Temple http://www.curi.us/blog/