mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #104] Dash style unordered list seen as asterisk inside block quote #86
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#86
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 @brandonrisell on GitHub (Jan 25, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/104
When you have a dash stye unordered list inside of a block quote, the markdownlint VSCode extension tells you that it expected a dash, but the actual is an asterisk. If I remove the block quote character it is fine with the dash.
E.g.
I am using the vscode extension
markdownlintversion0.13.0, and the rule that is triggering,MD004, is using it's default value.@DavidAnson commented on GitHub (Jan 25, 2018):
When pasted into https://dlaa.me/markdownlint/ your sample above does not trigger that error. Is there something else that’s necessary to make it happen?
@brandonrisell commented on GitHub (Feb 1, 2018):
So this took a bit to sort out, because you're right, I copied in the example and then even parts of the document and couldn't get the error message.
I finally figured it out though. It's if there was an unordered list earlier in the document. This is super simple, but triggers the error message I'm seeing.
In our case there are a bunch of things between the normal unordered list and the later quoted unordered list, but that doesn't seem to impact it.
@DavidAnson commented on GitHub (Feb 1, 2018):
Not looking at the code, but have an idea what’s going on. Thanks for the example!