in reply to syntax highlighting of code in perlmonks forums
I dont' know if you've ever heard of my program, webcpp.
http://webcpp.sf.net
It converts source code into HTML and supports colour schemes, and over 30 languages, including PERL. It uses its own CSS namespace, so no interference.
In recent versions I've implemented an option for creating snippets only. That combined with the ability to use STDIN/STDOUT, and it's cgi-readiness, it should be able to work on a webserver, with the help of a perl cgi interface.
It's written in C++, but it works on windows, and pretty much compiles in all UNIX variants will Gcc 3.0 or higher. The PerlMonks may be able to get this going, just a thought.
I'm not sure how it'll handle Japh (coz I'm not a Perl hacker), but maybe someone should give it a try.
|