Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Syntax highlighting code tags

by rhesa (Vicar)
on Sep 17, 2008 at 19:01 UTC ( #712099=note: print w/replies, xml ) Need Help??

in reply to Syntax highlighting code tags

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://712099]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2020-09-27 17:52 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (142 votes). Check out past polls.