

@register.filter
def creole(text, **kw):
    'Returns the text rendered by the Creole markup.\n    '
    if ((Creole is None) and settings.DEBUG):
        raise template.TemplateSyntaxError("Error in creole filter: The Creole library isn't installed, try easy_install Creoleparser.")
    parser = CreoleParser(dialect=dialect)
    return parser.render(kw)

dataset/ETHPy150Open brosner/django-wikiapp/wiki/templatetags/creole.py creole/VarMisuse@58/122 `text`->`kw`