Tools/Developer
markdown-link-check
Intro
You may install it globally or use it with npx.
Recursive Check
For my note taking folders, I add a Makefile
with the command above.
I also made an alias of it so I can easily execute it on CWD.
It's also a good practice to add it to GitHub action so that GitHub always run the check for you.
Note that I added a md-link.json
configuration file. It's not necessary. I added it because some websites with DDos protection (like cloudflare) will return status code 403 and will fail the check.
What I do is add 403 to the aliveStatusCodes
.
How is this guide?