http://www.perlmonks.org?node_id=315393


in reply to On-the-fly all-languages syntax highlighting

Another Perl script for doing syntax highlighting in various languages that you might want to be aware of is Peter Palfrader's Code2HTML. I wrapped it into a single .pm perl module and regularly use it to generate dynamic formatting from apache/mod_perl.

You can find the code and see it in action at http://cs.marlboro.edu/code/perl/Code2HTML/.

  • Comment on Re: On-the-fly all-languages syntax highlighting

Replies are listed 'Best First'.
Re: Re: On-the-fly all-languages syntax highlighting
by barrachois (Pilgrim) on Dec 17, 2003 at 22:04 UTC
    The "Anonymous Monk" suggesting Code2HTML is, in this case, me.
    (I'd foolishly forgotten to log on before posting.)