mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-05 04:02:21 +00:00
Header sizes
This commit is contained in:
1 parent
3afaaa51ae
commit
2ba778b4c1
1 file changed
+5
-5
@@ -203,11 +203,11 @@ def html_blog_post_markdown(content: str) -> str:
|
||||
"""
|
||||
replacements = {
|
||||
"># ": "h3",
|
||||
">## ": "h4",
|
||||
">### ": "h5",
|
||||
">#### ": "h6",
|
||||
">##### ": "h7",
|
||||
">###### ": "h8"
|
||||
">## ": "h3",
|
||||
">### ": "h3",
|
||||
">#### ": "h4",
|
||||
">##### ": "h5",
|
||||
">###### ": "h6"
|
||||
}
|
||||
new_content = content
|
||||
for markdown_text, html_header in replacements.items():
|
||||
|
||||
Reference in new issue
Block a user