Markdownify templatetag

I've applied some modifications to solve some issues I've found. Most important is the templatetag for templates.