Fix call to markdown.markdown
This commit is contained in:
parent
744147fd94
commit
091d2c4313
@ -126,7 +126,7 @@ def format_file(path, skip_up_to_date):
|
||||
# visible.
|
||||
contents += line
|
||||
|
||||
html = markdown.markdown(contents, ['def_list', 'codehilite', 'smarty'])
|
||||
html = markdown.markdown(contents, extensions=['def_list', 'codehilite', 'smarty'])
|
||||
|
||||
# Use special formatting for example output and errors.
|
||||
html = html.replace('<span class="c1">//> ', '<span class="output">')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user