Improved code highlighting

Also made some of the links actual links. Fixed extra indentation on some code blocks.