comparison filters.py @ 247:3e6869f76b8d

Add the blatter config and framework files.
author Steve Losh <steve@stevelosh.com>
date Wed, 23 Sep 2009 20:14:34 -0400
parents
children
comparison
equal deleted inserted replaced
246:46c13f6b7709 247:3e6869f76b8d
1 import markdown as _markdown
2 from jinja2 import Markup
3
4 md = _markdown.Markdown(extensions=['toc'], safe_mode=False)
5
6 def mdown(value):
7 return Markup(md.convert(value))