Find Dead Markdown Links
Lychee
Install Lychee, then:
lychee --base 'https://github.com/explodinglabs/superstack/wiki/' .
markdown-link-check
Doesn’t work with Github Wiki links, unless you include the .md extension.
npm install -g markdown-link-check
.mlc.json
{
"ignorePatterns": [{ "pattern": "^http" }, { "pattern": "^mailto:" }],
"replacementPatterns": [{ "pattern": "^\\./", "replacement": "" }]
}
find . -name '*.md' -print0 | xargs -0 -n1 markdown-link-check -q --config .mlc.json