DavidAnson / vscode-markdownlint

Markdown linting and style checking for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint
MIT License
930 stars 170 forks source link

No link definition found for footnotes #262

Closed f-squirrel closed 1 year ago

f-squirrel commented 1 year ago

The linter shows the warning No link definition found: '^1'(link.no-such-reference) for footnotes.

Example:

Here is a simple footnote[^1].

[^1]: My reference.

VS Code version:

Version: 1.73.1
Commit: 6261075646f055b99068d3688932416f2346dd3b
Date: 2022-11-09T03:54:53.913Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.14.0-1054-oem
Sandboxed: No
DavidAnson commented 1 year ago

Your example does not produce a warning for me: https://dlaa.me/markdownlint/#%25m%23%20VSC%20262%0A%0AHere%20is%20a%20simple%20footnote%5B%5E1%5D.%0A%0A%5B%5E1%5D%3A%20My%20reference.%0A

Please check if there's something else going on or if that message is coming from another extension or VS Code itself.

f-squirrel commented 1 year ago

@DavidAnson, you are right, it is a warning from the built-in markdown support.

Thank you for the prompt reply and an amazing plugin!