asciidoc-link-check

By Gaurav Nelson

View on Snapcraft.io
Version1.0.14
Revision13
Size11.7 MB
LicenseMIT
Confinementstrict
Basecore18

Checks if all hyperlinks in an asciidoc file are alive(or dead).


Usage

(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

Published31 Jul 2020, 06:39 UTC

Last updated13 Aug 2020, 00:44 UTC

First seen13 Dec 2025, 09:47 UTC