mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #313] How to set MD004 to Sublist? #269
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#269
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 @F1LT3R on GitHub (Aug 7, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/313
Hi, great tool.
I'm having trouble settings sublists.
Here is what I am trying:
I would expect this to allow for the following:
But this gets changed to the following on save:
What am I doing wrong?
@DavidAnson commented on GitHub (Aug 7, 2020):
That configuration should not report any violations via markdownlint. You can confirm that here: https://dlaa.me/markdownlint/#%25m%23%20Issue%20313%0A%0A*%20Level%201%0A%20%20%2B%20Level%202%0A%20%20%20%20-%20Level%203%0A%0A%3C!--%20markdownlint-configure-file%20%7B%20%22MD004%22%3A%20%7B%20%22style%22%3A%20%22sublist%22%20%7D%20%7D%20--%3E%0A
What editor are you using and what tool, extension, or plug-in is applying those edits when you save the document?
@F1LT3R commented on GitHub (Aug 8, 2020):
I see. I think Prettier is overriding things. Thanks.
@dotku commented on GitHub (Mar 23, 2023):
How did you fix it, with prettier rc or eslintrc?