Add TOC (from https://gist.github.com/ttscoff/c56fa651974ae6d86eee)