igorshubovych / markdownlint-cli

MarkdownLint Command Line Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: False positive with updated MD053 rule

rodcloutier opened this issue · comments

Version 0.32.2 introduces new fixes for MD053. It seems that with mkdocs, the given file gives a false positive.

$ cat test.md
# header

!!! notes

    The [link]

[link]: https://tekton.dev/docs/pipelines/pipelines/
$ markdownlint test.md
test.md:7:1 MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "link"] [Context: "[link]: https://tekton.dev/do..."]

Thanks for pointing this out.

I just found this to add support for admonitions DavidAnson/markdownlint#207 which would probably be a way out for this.