Example #1
0
def markdown(text):
    html = format_markdown(text, safe_mode="escape", output_format="html5")
    return mark_safe(html)
Example #2
0
def markdown(text):
    html = format_markdown(text, safe_mode='escape', output_format='html5')
    return mark_safe(html)
Example #3
0
def markdown(text):
    html = format_markdown(text, safe_mode="escape", output_format="html5")
    return mark_safe(html)