Monday, March 23, 2009

Testing SyntaxHighlight 2.0

This is a test of my new syntax highlighter.

This should be Python:

class A(object):

def a_func(arg):
return A()

This should be some Java code:

* A doc string
public static Object aMethod(int arg) {
Object a = new Object();
return a;

And finally XML:

<element attribute="value">
<nested attribute="value">

That is all.

No comments: