1.0.141311.7 MB
MIT
strict
core18
Checks if all hyperlinks in an asciidoc file are alive(or dead).
Usage
(Optional) Use the
Check links for a local file
``
(Optional) Use the
-p or --progress switch to view progress.Check links for a local file
``
asciidoc-link-check README.adoc --progress
`
Check links for an online file
`
asciidoc-link-check https://github.com/gaurav-nelson/asciidoc-link-check/blob/master/README.adoc
`
Check links from standard input
`
cat <filename>.adoc | asciidoc-link-check -p
`
Check links in all asciidoc files in a directory
Check recursively in the current directory:
`
find . -name \*.adoc -exec asciidoc-link-check -p {} \;
`
Check recursively in the other directories:
`
find <directory> -name \*.adoc -exec asciidoc-link-check -p {} \;
`
Ignore specific links
1. Create a JSON config file containing ignore patterns:
`
{
"ignorePatterns": [
{ "pattern": "^https://192.17" },
{ "pattern": "^https://www.google" }
]
}
`
1. Use the config file option:
`
asciidoc-link-check README.adoc -c <configfile.json>
``
Update History
1.0.14 (13)13 Dec 2025, 09:47 UTC
31 Jul 2020, 06:39 UTC
13 Aug 2020, 00:44 UTC
13 Dec 2025, 09:47 UTC