Use template for docs toc and heading.

Instead of having inline HTML in the md compiler, use a Jade template.