Use template for docs blockcode, toc, and heading.

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