29 August 2009

Tags: blogging |

How to highlight code in Blogger? You can use SyntaxHighlighter. I don’t want to repeat other useful posts about adjusting Blogger for code syntax highlighter, so take look at these:

There is one useful feature in SyntaxHighlighter — Bundled themes.

Here is small example:

<pre class="brush: java;">public void printHello() {
     System.out.println("Hello World");
 }
</pre>


comments powered by Disqus