Markdown generation is handled by Mustache templates. Removes all hardcoded munging.