Friday, June 20, 2008

google syntaxhighlighter

recently i've found the google javascript syntaxhighlighter. it looks kind of like this - i can't get the blog to not to convert line breaks in a pre-tag to br-tags. but i think you can guess what it does ... and it's quite cool.

public static void swap(int[] a, int i, int j) {
int temp = a[i];
a[i] = a[j];
a[j] = temp;
}

No comments: