Exemple #1
0
def about():
    content = None
    with pages.open_resource('about.md') as f:
        content = Markup(markup(unicode(f.read(), "UTF-8")))
    return render_template('default_page.html', content = content, pagename = 'about me')
Exemple #2
0
def markitup(text):
    return Markup(markup(text))