Fix a few typos, re-indent code for markdown