Code Highlight highlights syntax in code examples on blogs, forums and in fact on any web pages.
This extension is an adaptation of highlight.js See the documentation for more details on usage or the demo for a list of supported languages.
To use the extension, write your source format "formatted" code and wrap everything in a <code> via editing the source code. Then simply use the function highlight() in your templates such as {{ highlight(entry.body) }}
To use syntax highlighting within a post, just wrap the intended block like so:
<pre>
<code class="html">
<p>this will be highlighted</p>
</code>
</pre>