mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #1453] "Lists should be surrounded by blank lines" inside code block #685
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#685
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 @charisk on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1453
A "Lists should be surrounded by blank lines" error is raised for the line line 2 (L2) in the following code block, even though it's not raised for a very similar code block further up the file.
I would not expect this to trigger an error.
You can see an example of this in https://github.com/github/vscode-codeql/pull/3872 where CI is failing when running markdown lint on this file, specifically on this line.
This has started happening with v0.15.0.
@DavidAnson commented on GitHub (Dec 16, 2024):
I can't tell what's going on from my phone, but here's a minimal repro: https://dlaa.me/markdownlint/#%25m%23%20Heading%0A%0A1.%20Item%0A%20%20%20%3Cpre%3E%0A%20%20%20%5B()%5D%0A%20%20%20%3C%2Fpre%3E%0A%0A%3C!--%20markdownlint-disable-file%20MD033%20--%3E%0A
I'll have a look soon, thanks!
getReferenceLinkImageDataHelper #2354