def markdown(value):
    try:
        import markdown
    except __HOLE__:
        if settings.DEBUG:
            raise template.TemplateSyntaxError, "Error in {% markdown %} filter: The Python markdown library isn't installed."
        return value
    else:
        return markdown.markdown(value)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/contrib/markup/templatetags/markup.py/markdown