Skip to content

Commit

Permalink
Cleaned up the dbc_markup function slightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
lethain committed Jul 8, 2008
1 parent 3ee35ff commit cd8413e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions models.py
Expand Up @@ -14,13 +14,8 @@

def dbc_markup(txt, obj=None):
"Apply Dynamic Blog Context markup"
md = Markdown(txt,
extensions=[mdx_footnotes,
mdx_code,
mdx_foreign_formats,
mdx_lifeflow],
extension_configs={'lifeflow':obj},
)
exts = [mdx_footnotes,mdx_code,mdx_foreign_formats, mdx_lifeflow]
md = Markdown(txt,extensions=exts,extension_configs={'lifeflow':obj})
return md.convert()


Expand Down

0 comments on commit cd8413e

Please sign in to comment.