Tuesday, 29 January 2008

Syntax highlighting

Finally got my syntax highlighting working. Unfortunately blogger doesn't support syntax highlighting by itself you have to do a bit of hacking. So after hours of browsing I've stumbled uppon this.
Here's the result:
class MyClass
{
private int myInteger;
}

By the way, for some reason syntax highlighting is only visible after publishing the post. Took me half and hour to figure this one out :)

No comments: