fredag 10 december 2010

Doing Syntax highlighting for Java in blogger

Do a google search on "Using SyntaxHigLighter in blogger". Read more about SyntaxHighLighter.
Basically after having inserted the scripts correctly format code by using an html encoder - Postable is good. Then surround it by:
<pre class="brush: java">
Your code here.
</pre>

Inga kommentarer:

Skicka en kommentar