mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 01:05:55 +03:00
[GH-ISSUE #522] Should I NOT be using this for reStructured Text (Sphinx)? #426
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#426
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 @FrightRisk on GitHub (May 4, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/522
I have been using this for a while and it seem to work for catching errors, but it doesn't like things like headings with over and under tags, which is standard ex:
############
Heading One
############
It says "first line heading should be a top level heading"
@DavidAnson commented on GitHub (May 4, 2022):
The CommonMark specification supports two syntaxes for headings and what's shown above is neither of them. This library is intended for CommonMark syntax and the reported issue is correct in that context. Using this library for other syntaxes can result in "false" issues like this. You may wish to turn such rules off in your configuration.
See sections 4.2 and 4.3: https://spec.commonmark.org/0.30/