mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #102] MD024 triggers on same inner headers inside different top-level headers #1933
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#1933
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KillyMXI on GitHub (Jan 7, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/102
-- looks totally fine for me and I don't want it to be triggered.
@DavidAnson commented on GitHub (Jan 7, 2018):
That’s correct behavior for MD024 - the rationale explains why: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md024
You might want to disable MD024 for that file or for your project if you don’t agree with the rule.
You might also look into MD043 as an alternate way to enforce header structure: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md043
Hope this helps!
@KillyMXI commented on GitHub (Jan 7, 2018):
So it's just a workaround thing for some parsers.
I missed that line.
Disabling it is a way to go for me then.