NOTE
This was a feature for π§βπ»οΈ My Custom VSCode Extension, but it was replaced by π» Markdown Linting instead.
This feature was discontinued because the Markdownlint extension validates this automatically.
Feature description
Perhaps Iβm a bit of a perfectionist, but one thing I hate is having unused information in a file. An example is Markdown links that arenβt in use (this, of course, is related to the fact that the links themselves are defined at the end of the file using [some-text][x] (...) [x]: some-url
).
VSCode can easily listen to each time a file is saved using:
The code to find the defined links and the used links are:
For the used links it is very important to add gms
instead of just gm
because the text can span multiple lines.