Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-07-12 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls