1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Subject: extensions is now a named argument to markdown()
From: Andrej Shadura <andrewsh@debian.org>
Bug: https://github.com/ionelmc/python-darkslide/issues/10
Bug-Debian: https://bugs.debian.org/923977
Forwarded: not-needed
--- a/src/darkslide/parser.py
+++ b/src/darkslide/parser.py
@@ -57,7 +57,7 @@
if text.startswith(u'\ufeff'): # check for unicode BOM
text = text[1:]
- return markdown.markdown(text, self.md_extensions)
+ return markdown.markdown(text, extensions=self.md_extensions)
elif self.format == 'restructuredtext':
try:
from .rst import html_body
|