Converted to Github flavor code blocks.