Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Free Nodelet hack: Syntax colouring

by Corion (Pope)
on Mar 22, 2007 at 17:52 UTC ( #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
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? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-08-23 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls