merodi
A markdown-based static site generator.
git clone https://git.pi66.xyz/merodi
About | Files | Commits | Refs | License
chore: sort markdown extensions alphabetically
Author: pi66
Date: 2026-06-30 17:13
commit: be5f827d
Stat
| M | src/build.py | 12 | +6 | -6 |
Diff
diff --git a/src/build.py b/src/build.py
index 158cd76..9b1655e 100644
--- a/src/build.py
+++ b/src/build.py
@@ -107,16 +107,16 @@ def compile_md_to_html(md_file:str, html_dest:str, tree_config=None, extras_conf
extensions = [
"extra",
"md_in_html",
+ "pymdownx.betterem",
+ "pymdownx.critic",
+ "pymdownx.details",
"pymdownx.highlight",
"pymdownx.inlinehilite",
- "pymdownx.superfences",
- "pymdownx.tilde",
- "pymdownx.mark",
- "pymdownx.betterem",
"pymdownx.keys",
- "pymdownx.details",
+ "pymdownx.mark",
...
Show all
Show less
diff --git a/src/build.py b/src/build.py
index 158cd76..9b1655e 100644
--- a/src/build.py
+++ b/src/build.py
@@ -107,16 +107,16 @@ def compile_md_to_html(md_file:str, html_dest:str, tree_config=None, extras_conf
extensions = [
"extra",
"md_in_html",
+ "pymdownx.betterem",
+ "pymdownx.critic",
+ "pymdownx.details",
"pymdownx.highlight",
"pymdownx.inlinehilite",
- "pymdownx.superfences",
- "pymdownx.tilde",
- "pymdownx.mark",
- "pymdownx.betterem",
"pymdownx.keys",
- "pymdownx.details",
+ "pymdownx.mark",
...
diff --git a/src/build.py b/src/build.py
index 158cd76..9b1655e 100644
--- a/src/build.py
+++ b/src/build.py
@@ -107,16 +107,16 @@ def compile_md_to_html(md_file:str, html_dest:str, tree_config=None, extras_conf
extensions = [
"extra",
"md_in_html",
+ "pymdownx.betterem",
+ "pymdownx.critic",
+ "pymdownx.details",
"pymdownx.highlight",
"pymdownx.inlinehilite",
- "pymdownx.superfences",
- "pymdownx.tilde",
- "pymdownx.mark",
- "pymdownx.betterem",
"pymdownx.keys",
- "pymdownx.details",
+ "pymdownx.mark",
+ "pymdownx.superfences",
"pymdownx.tabbed",
- "pymdownx.critic",
+ "pymdownx.tilde",
],extension_configs={
"pymdownx.highlight": {
"use_pygments": True,