From: Michael Tremer Date: Mon, 12 Nov 2018 22:02:24 +0000 (+0000) Subject: wiki: Add some more markdown extras X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0ef6d396576e80635cb8b5868f7ed0aa8fbfd5c;p=ipfire.org.git wiki: Add some more markdown extras Signed-off-by: Michael Tremer --- diff --git a/src/backend/blog.py b/src/backend/blog.py index 3ffcaea1..034fd4c1 100644 --- a/src/backend/blog.py +++ b/src/backend/blog.py @@ -150,7 +150,15 @@ class Blog(misc.Object): def _render_text(self, text, lang="markdown"): if lang == "markdown": return markdown2.markdown(text, link_patterns=link_patterns, - extras=["footnotes", "link-patterns", "wiki-tables"]) + extras=[ + "code-friendly", + "cuddled-lists", + "fenced-code-blocks", + "footnotes", + "header-ids", + "link-patterns", + "tables", + ]) elif lang == "textile": return textile.textile(text)