On 10/26/12 12:43 AM, William Blunn wrote:
Hello London Perl Mongers,

What do people reckon to use when wanting to do Perl syntax highlighting
(Perl ? HTML), such as one might want to use in one's source code
repository browser.

I built a web-based tool around Perl::Critic for my employer, and for syntax-coloring I used PPI::HTML. I have yet to see it get confused by anything, and it has had to chew through some pretty atrocious Perl code...

https://metacpan.org/module/PPI::HTML

I don't remember all the details off-hand, and I can't share the code unfortunately. But tomorrow when I'm back in my office I might look it over and see if I can relate a few helpful hints.

Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray Sunnyvale, CA http://www.rjray.org rj...@blackperl.com

twitter.com/rjray
Silicon Valley Scale Modelers: http://www.svsm.org

Reply via email to