October 13, 2008

Code prettyfier

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 {
// nothing
// 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 :)