Add def_list extension
This commit is contained in:
parent
1766db73d9
commit
cee353fd41
1 changed files with 3 additions and 2 deletions
|
@ -34,8 +34,9 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
md = markdown.Markdown()
|
md = markdown.Markdown()
|
||||||
print 'Converting ', mdname, '-->', htmlfile,
|
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",
|
markdown.markdownFromFile(input=mdfile, output=htmlfile, encoding="utf-8",
|
||||||
extensions=[wikiExtension])
|
extensions=[wikilinks, def_list])
|
||||||
print ' ... succeeded'
|
print ' ... succeeded'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue