in reply to Movable Type: Highlighting Perl Code

What about using javascript for this? There is this stuff I use on perlmonks (sorry I don't remember whom it comes from):
<script> var headID = document.getElementsByTagName("head")`[0`]; var cssNode = document.createElement('link'); cssNode.type = 'text/css'; cssNode.rel = 'stylesheet'; cssNode.href = 'http://datenzoo.de/pub/prettify.css'; cssNode.media = 'screen'; headID.appendChild(cssNode); </script> <script type="text/javascript" src="http://datenzoo.de/pub/prettify.js +"></script> <script> prettyPrint(); </script>
It's really nice! Paste it in your perlmonks free nodelet to try it.

Replies are listed 'Best First'.
Re^2: Movable Type: Highlighting Perl Code
by planetscape (Chancellor) on Apr 10, 2008 at 08:11 UTC
      Thanks, I should add this in an HTML comment in my free nodelet to remember that :)