mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
aider: fix: Use correct token type for markdown heading alignment
This commit is contained in:
parent
779f07f072
commit
13b62e3d06
1 changed files with 1 additions and 6 deletions
|
@ -85,12 +85,7 @@ class NoInsetMarkdown(Markdown):
|
||||||
**Markdown.elements,
|
**Markdown.elements,
|
||||||
"fence": NoInsetCodeBlock,
|
"fence": NoInsetCodeBlock,
|
||||||
"code_block": NoInsetCodeBlock,
|
"code_block": NoInsetCodeBlock,
|
||||||
"heading1": LeftHeading,
|
"heading_open": LeftHeading, # Use the correct token type key
|
||||||
"heading2": LeftHeading,
|
|
||||||
"heading3": LeftHeading,
|
|
||||||
"heading4": LeftHeading,
|
|
||||||
"heading5": LeftHeading,
|
|
||||||
"heading6": LeftHeading,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue