Code prettyfier

October 13, 2008
Just played with a Google's code prettify and after following these advices and these, code highlighting is available here too.

Let we see what it can make...

/*
* some C/C++ code
*/
class Foo {
private:
// nothing
public:
// nothing
};

void baz(void) {
/* nothing too */
}


Some python code:

# a comment
def foo():
print "bla"


And scheme code:

(define (func a b)
(+ a b))


Looks like it works :)