Added templatetags and markdown support