Enable syntax highlighting for code snippets.

Also improved formatting and fixed typos - please review before merging.
Merge pull request #12 from johnjohndoe/patch-1

Enable syntax highlighting for code snippets.