fix: give higher priority than superfences to macros preprocessor (#638)

Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
This commit is contained in:
Timothée Mazzucotelli
2026-05-05 21:41:00 +00:00
committed by GitHub
parent bc3e017c30
commit bee1c3f7ea
2 changed files with 37 additions and 3 deletions
+3 -1
View File
@@ -374,7 +374,9 @@ class MacrosExtension(Extension):
md.preprocessors.register(
MacrosPreprocessor(md, config=config),
MacrosPreprocessor.name,
priority=20,
# Before pymdownx.superfences'
# `fenced_code_block` (25) and `fenced_raw_block` (31.05)
priority=35,
)