From 871340cd4e071d415b763cff4396be1e57fec28d Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 25 Jun 2021 19:45:15 +0000 Subject: allow md for sup and sub --- apioforum/mdrender.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apioforum/mdrender.py b/apioforum/mdrender.py index 7dbbf6b..4e3a891 100644 --- a/apioforum/mdrender.py +++ b/apioforum/mdrender.py @@ -11,6 +11,7 @@ allowed_tags = [ 'h6', 'pre', 'del', + 'ins', 'mark', 'img', 'marquee', @@ -38,6 +39,7 @@ cleaner = bleach.sanitizer.Cleaner(tags=allowed_tags,attributes=allowed_attribut import markdown md = markdown.Markdown(extensions=[ 'pymdownx.tilde', + 'pymdownx.caret', 'fenced_code', 'tables', 'pymdownx.details', -- cgit v1.2.3