mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #52] Erroneous MD003 warning #43
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#43
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 @zafields on GitHub (Mar 22, 2017).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/52
MD003/header-style: Header style [Expected: setext; Actual: atx]I get this warning for
### Header Level 3, even though your documentation says it is valid...@DavidAnson commented on GitHub (Mar 22, 2017):
Can you please provide a small bit of Markdown that demonstrates the problem?
@DavidAnson commented on GitHub (Mar 23, 2017):
I have an idea for what's going on. By default, the
styleforMD003isconsistentwhich means the rule looks at the first header in the file and expects everything else to match that. If you want thesettext_with_atx_closedsetting to be used, you have to explicitly set it in config.For example:
References:
@DavidAnson commented on GitHub (Mar 28, 2017):
Please let me know if the above does not resolve your issue.