/ Personal

Syntax Highlighting test post

Edit: Looks like this isn't supported too well with the default theme.

Mostly this is just a test post to see how it handles syntax highlights.

Python

def main():
    print "Hello world"

if __name__ == '__main__':
    main()
def main():
    print "Hello world"

if __name__ == '__main__':
    main()

Python3

def main():
    print("Hello world")

if __name__ == '__main__':
    main()

Javascript

function hello() {
    console.log('Hello world');
}
hello();

Node

function hello() {
    console.log('Hello world');
}
hello();
Syntax Highlighting test post
Share this

Subscribe to Matt's Blog