This is the discussion topic for the Syntax Highlighter extension.
Just released: version 0.2 (see log in extension zip for changes)
Visit http://extensions.pivotx.net/entry/41/syntax-highlighter for download and more info.
<code class="brush:python">
<script type="text/javascript" src="/pivotx/extensions/syntaxhighlighter/scripts/shBrushPython.js"></script>
$path = $PIVOTX['paths']['extensions_url']."syntaxhighlighter/";
$path = $PIVOTX['paths']['extensions_url']."syntax-highlighter/";
<pre class="brush:css">
body, td, pre {color:#000; font-family:Tahoma, Arial, Helvetica, sans-serif; }
body {background:#FFF;}
body.mceForceColors {background:#FFF; color:#000;}
h1 {font-size: 2em}
h2 {font-size: 1.5em}
h3 {font-size: 1.17em}
</pre>
Users browsing this forum: No registered users and 2 guests