You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jackdewinter , I tried pymarkdownlint on a project where people use either setext_with_atx or atx style.
Config:
{
"md003": {
"style" : "consistent"
}
}
Problem:
On this document, I get a warning md003 " Heading style should be consistent throughout the document. [Expected: setext; Actual: atx] (heading-style,header-style)":
Title
=====
Section 1
---------### Subsection
Some text...
markdownlint has the same issue, but my point here is:
I would be very glad if rule md003 would detect the setext_with_atx style, because there is simply no other way to have headings of level 3 and below than with ATX (unlike in restructuredText).
Implementation is probably simple: If you encounter setext, just ignore headings L3+ (it can only be ATX, after all), or switch to setext_with_atx the first time the parser encounters a L3 ATX heading.
The text was updated successfully, but these errors were encountered:
Hi @jackdewinter , I tried pymarkdownlint on a project where people use either setext_with_atx or atx style.
Config:
Problem:
On this document, I get a warning
md003 " Heading style should be consistent throughout the document. [Expected: setext; Actual: atx] (heading-style,header-style)"
:markdownlint has the same issue, but my point here is:
I would be very glad if rule md003 would detect the setext_with_atx style, because there is simply no other way to have headings of level 3 and below than with ATX (unlike in restructuredText).
Implementation is probably simple: If you encounter setext, just ignore headings L3+ (it can only be ATX, after all), or switch to setext_with_atx the first time the parser encounters a L3 ATX heading.
The text was updated successfully, but these errors were encountered: