Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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>