Markdown: Generate permalinks for headers

Ref gh-36