Wed, 01 Jun 2011


I've just prettified my blog which means that code snippets will now get syntax highlighting. I did some minor modification so I didn't have to go back and modify previous code posts I've done, but this means plain old code snippets will now get pretty syntax highlighting.

For example:
use feature qw(say);
say "Hello World";
public class HelloWorld {
  public static void main(String[] args) {
    System.out.println("Hello World");
If you have a blog, it's a simple matter of enabling some styles and javascript to get it activated, and a minor bit of js hacking to avoid having to specify a class for backwards compatibility.

Khan Klatt

Khan Klatt's photo