Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Free Nodelet hack: Syntax colouring

by Corion (Patriarch)
on Mar 22, 2007 at 17:52 UTC ( [id://606083]=monkdiscuss: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <script>
    var headID = document.getElementsByTagName("head")`[0`];         
    ...
    <script>
    prettyPrint();
    </script>
    
  2. or download this
    <script>
    var headID = document.getElementsByTagName("head")`[0`];         
    ...
    headID.appendChild(cssNode);
    </script>
    <script type="text/javascript" src="http://datenzoo.de/pub/prettify-ja
    +ap.js"></script>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://606083]
Approved by kyle
Front-paged by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-04-23 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found