Saturday, August 29, 2009

Syntax Highlighting Code in Blogger

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:
public void printHello() {  
     System.out.println("Hello World");