Update markdown extension name.

With Python-Markdown 2.6, “shortened” extension names are deprecated.
This commit is contained in:
Simon Conseil
2015-03-02 22:43:57 +01:00
parent debd703451
commit 22b9b8131c

View File

@@ -73,7 +73,8 @@ def read_markdown(filename):
with codecs.open(filename, 'r', 'utf-8-sig') as f:
text = f.read()
md = Markdown(extensions=['meta'], output_format='html5')
md = Markdown(extensions=['markdown.extensions.meta'],
output_format='html5')
output = {'description': md.convert(text)}
try: