aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-25 19:45:15 +0000
committerubq323 <ubq323>2021-06-25 19:45:15 +0000
commit871340cd4e071d415b763cff4396be1e57fec28d (patch)
tree4904d0c1e7b1ed968028f6cb5b666150b5281926
parent0133b7b7ee1bcde5cd63c48fdb0af25dfb1ffd00 (diff)
allow md for sup and sub
-rw-r--r--apioforum/mdrender.py2
1 files changed, 2 insertions, 0 deletions
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',