Prettify Code Listings

js

google-code-prettify has some nice javascript that allows for neat integration of code snippets on the site - something that I certainly will need. Here’s how to get it to work:

def bla(sucks=False):
    print sucks

class Fnord(everywhere=True):
    '''you read your hitchhiker, didn't you, eh?'''

    def __init__(self):
        print 'fnord'
        return self

comments powered by Disqus

© by Sven Hergenhahn 2014 -