Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Syntax highlighting code tags

by rhesa (Vicar)
on Sep 17, 2008 at 19:01 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found