Use HTML5 output for Markdown.

This commit is contained in:
Simon Conseil
2014-08-23 18:06:43 +02:00
parent e1d607ded8
commit b57499cb00

View File

@@ -58,7 +58,7 @@ def read_markdown(filename):
with codecs.open(filename, 'r', 'utf-8-sig') as f:
text = f.read()
md = Markdown(extensions=['meta'])
md = Markdown(extensions=['meta'], output_format='html5')
html = md.convert(text)
return {