[GH-ISSUE #571] False positive MD053 for image inside link #2304

Closed
opened 2026-03-07 20:06:30 +03:00 by kerem · 5 comments
Owner

Originally created by @janosh on GitHub (Sep 1, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/571

I'm seeing a false-positive when wrapping referenced image inside a link:

[![Binder]](test)

[Binder]: https://mybinder.org/badge_logo.svg

Screen Shot 2022-08-31 at 20 57 03

Originally created by @janosh on GitHub (Sep 1, 2022). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/571 I'm seeing a false-positive when wrapping referenced image inside a link: ```md [![Binder]](test) [Binder]: https://mybinder.org/badge_logo.svg ``` ![Screen Shot 2022-08-31 at 20 57 03](https://user-images.githubusercontent.com/30958850/187828593-721d54ab-fb8b-4930-b137-adf5c8550445.png)
kerem 2026-03-07 20:06:30 +03:00
Author
Owner

@DavidAnson commented on GitHub (Sep 1, 2022):

FYI, the equivalent syntax [![Binder][]](test) should not trigger a violation in the current version.

<!-- gh-comment-id:1233824917 --> @DavidAnson commented on GitHub (Sep 1, 2022): FYI, the equivalent syntax `[![Binder][]](test)` should not trigger a violation in the current version.
Author
Owner

@janosh commented on GitHub (Sep 3, 2022):

This is not in fixed in https://github.com/DavidAnson/vscode-markdownlint/tree/next yet, correct?

<!-- gh-comment-id:1236213881 --> @janosh commented on GitHub (Sep 3, 2022): This is not in fixed in https://github.com/DavidAnson/vscode-markdownlint/tree/next yet, correct?
Author
Owner

@DavidAnson commented on GitHub (Sep 3, 2022):

Right, it's fixed for the next release of the library which will be part of the next release of the extension. But neither exists yet.

<!-- gh-comment-id:1236214269 --> @DavidAnson commented on GitHub (Sep 3, 2022): Right, it's fixed for the next release of the library which will be part of the next release of the extension. But neither exists yet.
Author
Owner

@janosh commented on GitHub (Nov 17, 2022):

Is anything blocking a new release? Still encountering this issue on a regular basis.

<!-- gh-comment-id:1319157196 --> @janosh commented on GitHub (Nov 17, 2022): Is anything blocking a new release? Still encountering this issue on a regular basis.
Author
Owner

@DavidAnson commented on GitHub (Nov 17, 2022):

Nothing blocking, though I am still working through some other issues that have been reported.

<!-- gh-comment-id:1319342603 --> @DavidAnson commented on GitHub (Nov 17, 2022): Nothing blocking, though I am still working through some other issues that have been reported.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2304
No description provided.