import markdown2
from django import template
from django.template.defaultfilters import stringfilter

register = template.Library()


@register.filter()
@stringfilter
def markdownify(value):
    return markdown2.markdown(value)

import markdown2
from django import template
from django.template.defaultfilters import stringfilter

register = template.Library()


@register.filter()
@stringfilter
def markdownify(value):
    return markdown2.markdown(value)
