vim has a convert-to-html (or better: convert-to-xhtml) command that can be used to generate htmlified colorized perl. Here's a shell snippet from the vim docs that with a little love could be a lot of help.
for f in *.[ch]; do gvim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" $f; done
This is pretty slow, so I don't know how happy the site maintainers would be happy about it. Plus, it's going to be a mess figuring out color schemes for this :)
In reply to Re: Code highlighting?
by gaal
in thread Code highlighting?
by radiantmatrix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |