Tuesday, February 26, 2008

Code highlighting

So first of all I had to have color highlighting on this site. It is impossible to write or publish code without code highlighting. Some quick research led me into google site and after following readme found there I managed to get it working in no time.

Here is a well known code snippet using code highlighting.


package com.blogspot.jcrossroad;

public class HelloWorld {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("Hello world!");
}
}

No comments: