Fix call to markdown.markdown

This commit is contained in:
Taylor Rose 2018-10-28 17:08:08 -04:00
parent 744147fd94
commit 091d2c4313

View File

@ -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">//&gt; ', '<span class="output">')