On Sep 24, 2004, at 1:00 PM, James Edward Gray II wrote:
> I need to HTMLify some Ruby code.  Before I go make some crude 
> solution, I thought I would ask if there is anything out there along 
> these lines.  Any pointers?

You might want to look at:
http://phrogz.net/JS/Classes/syntaxcolor.js

It's a little script I wrote which automagically syntax colors 
javascript code inside of <code class="js"> blocks, and shouldn't be 
*TOO* hard to extend to give at least basic ruby syntax coloring. (It's 
all regexp based, so complex things like properly coming in/out of %Q{ 
or %Qn won't work well. But at least it's a start.)

Man, with more time in my life, I'd love to write a general-purpose JS 
syntax-coloring state machine :)