Header sizes

main
Bob Mottram 2025-12-07 18:00:39 +00:00
parent 3afaaa51ae
commit 2ba778b4c1
1 changed files with 5 additions and 5 deletions

10
blog.py
View File

@ -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():