Mercurial > hg-website
view filters.py @ 367:bb27170e2218
Updated from typeface.js 0.13 to 0.15 for IE9 compat.
author | Tatham Oddie <tatham@oddie.com.au> |
---|---|
date | Tue, 14 Jun 2011 21:39:48 +1000 |
parents | 3e6869f76b8d |
children |
line wrap: on
line source
import markdown as _markdown from jinja2 import Markup md = _markdown.Markdown(extensions=['toc'], safe_mode=False) def mdown(value): return Markup(md.convert(value))