mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #173] MD004 and TaskList #1997
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#1997
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 @HBSpy on GitHub (Mar 19, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/173
Any idea to deal with Extended Syntax Task List?
now it will alert MD004
@DavidAnson commented on GitHub (Mar 19, 2019):
The style GitHub uses seems not to trigger any MD004 errors:
https://guides.github.com/features/mastering-markdown/
Could you please show some example Markdown or link to a document with violations?
@HBSpy commented on GitHub (Mar 20, 2019):
I found it in my VS Code
@DavidAnson commented on GitHub (Mar 20, 2019):
That’s because an earlier list in your document (the one at the top of your image) uses the ‘*’ as a list marker. By default, MD004 assumes the first list item it finds uses the list marker style you want for the entire document. You could change the other list(s) to use ‘-‘ and this warning should go away. Or you could disable MD004 if you like how your document is now.
More info here: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md004
@HBSpy commented on GitHub (Mar 20, 2019):
O, i see
I prefer to use * for list and - [x] for task
THX