aider: fix: Use correct token type for markdown heading alignment

This commit is contained in:
Peter Schilling (aider) 2025-03-27 13:59:58 -07:00
parent 779f07f072
commit 13b62e3d06

View file

@ -85,12 +85,7 @@ class NoInsetMarkdown(Markdown):
**Markdown.elements,
"fence": NoInsetCodeBlock,
"code_block": NoInsetCodeBlock,
"heading1": LeftHeading,
"heading2": LeftHeading,
"heading3": LeftHeading,
"heading4": LeftHeading,
"heading5": LeftHeading,
"heading6": LeftHeading,
"heading_open": LeftHeading, # Use the correct token type key
}