Saturday, September 12, 2009

SyntaxHighlighter - Javascript Code Highlighter

I was looking for a way to add syntax highlighting to this site and came across SyntaxHighlighter. It supports just about every language I will ever want and looks nice as well.

Here is an example:

def hello_world(self):
    print("Hello World!")

if __name__ == "__main__":
    hello_world( )