The plugin is simple to install:
highlight_source_pro folder to your /wp-content/plugins directorySet your code-blocks as <pre>-tags. If the language is supported by GeSHi (see file list in the /geshi-directory) use the filename (without extension) as language-attribute. If your code is encoded (html-entities; e.g. < is displayed as < - most likely the case if you write in the visual editor) add the enc__-prefix. For example for a php-codeblock you would start as follows:
<pre lang="php">
You can control various things:
* Start of Line-Offset, e.g. for #17: <pre class="17">
* define entity-encoded blocks, e.g. for php: <pre lang="enc__php">
* Define a title for your code-block that appears inside the block, but above the code lines. Everything in the same line as the opening <pre> tag will be considered the title, including HTML works fine:
<pre lang="php"><strong>This is</strong> an <em>example</em> with a <h3>headline</h3>
* disable line numbers by not specifying an offset * combine all those things as long as you stick to the right order:




