From time to time I post code snippets in blog posts. Today I found a wordpress plugin, Code Snippet 2.0, a plugin that eases code posting by escaping the the code right. And moreover Code Snippet 2.0 displays the code with highlighting. The plugin uses GeSHi syntax highlighter engine – a flexible and easy extendable highlighter engine.
Install
Usage
<code lang="php">
< ?php
echo "Hello World";
?>
</code>
Result:
< ?php
echo "Hello World";
?>
The list of supported languages in Code Snippet 2.0: