@app.template_filter('summarize')
def tf_summarize(content, length=250, suffix='...'):
    return summarize(content, length, suffix)
Generate summary from marked-up content
dataset/ETHPy150Open jkossen/imposter/frontend.py/tf_summarize