Add def_list extension

This commit is contained in:
Tom Willemsen 2011-11-05 14:58:57 +01:00
parent 1766db73d9
commit cee353fd41

View file

@ -34,8 +34,9 @@ class Command(BaseCommand):
md = markdown.Markdown()
print 'Converting ', mdname, '-->', htmlfile,
wikiExtension = 'wikilinks(base_url=%s/)' % subdir
wikilinks = 'wikilinks(base_url=%s/)' % subdir
def_list = 'def_list'
markdown.markdownFromFile(input=mdfile, output=htmlfile, encoding="utf-8",
extensions=[wikiExtension])
extensions=[wikilinks, def_list])
print ' ... succeeded'