def markdown(text): html = format_markdown(text, safe_mode="escape", output_format="html5") return mark_safe(html)
def markdown(text): html = format_markdown(text, safe_mode='escape', output_format='html5') return mark_safe(html)