Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Syntax highlighting code tagsby rhesa (Vicar) |
on Sep 17, 2008 at 19:01 UTC ( [id://712099]=note: print w/replies, xml ) | Need Help?? |
I use Free Nodelet hack: Syntax colouring. It's nice, and doesn't impose additional load on the PM server. I've put the relevant JavaScript and CSS files on my own server just in case (and for easier tweaking).
The fact that it's JS has one drawback: it can choke on big nodes with large <code> sections (and my experiments with setTimeout were unsuccessful — my JS fu is negligeble). But I find that, in practice, it's not a big deal.
In Section
Perl Monks Discussion
|
|