mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 09:46:01 +03:00
[GH-ISSUE #21] Unordered sublist with different symbol #13
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#13
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 @lampo808 on GitHub (Jun 15, 2016).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/21
When writing an unordered sublist I like to use a different list symbol rather than the same used for the main list:
In my opinion this should be fine, but I get a MD004 warning instead. I suggest to modify the linter not to raise a warning in this case.
@DavidAnson commented on GitHub (Jun 17, 2016):
Thinking about this briefly, I'd want to add a new value for the
styleparameter named something likedifferentiatedwhich would behave likeconsistent, but only check within each level of a list. For simplicity, I probably would not try to ensure consistency across lists.@lampo808 commented on GitHub (Jun 17, 2016):
Yes, better keep each list on its own. Thanks.
@DavidAnson commented on GitHub (Jul 4, 2016):
After playing with both implementations, it ended up being much simpler to enforce a consistent style for each level across all lists in the document. So I went with that. :)
@tomByrer commented on GitHub (Jul 5, 2016):
Cool, I was hoping on that!