aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-04-23 15:42:08 +0200
committerQrius <[email protected]>2025-04-23 15:42:08 +0200
commitf0a3cbf223054c6c416c3355eaecf0b2f91450d0 (patch)
treea409af8bf3a6049195a36168c620fc36d43ac6ab
parent8c2c933f76fd784a601db5c41f9c139c1154d506 (diff)
downloadskaldpress-f0a3cbf223054c6c416c3355eaecf0b2f91450d0.tar.gz
skaldpress-f0a3cbf223054c6c416c3355eaecf0b2f91450d0.zip
Make extension to markdown work again
-rw-r--r--src/smp/builtins.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/smp/builtins.py b/src/smp/builtins.py
index e4a3429..d5eb4a5 100644
--- a/src/smp/builtins.py
+++ b/src/smp/builtins.py
@@ -174,6 +174,10 @@ def smp_builtin_html_from_markdown(macro_processor, text, extensions=list()):
.enable("table")
.enable("list")
)
+
+ for extension in extensions:
+ extension(md)
+
return md.render(text)