Install latest/stable of asciidoc-link-check
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install asciidoc-link-check
Don't have snapd? Get set up for snaps.
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
Create a JSON config file containing ignore patterns:
``` { "ignorePatterns": [ { "pattern": "^https://192.17" }, { "pattern": "^https://www.google" } ]
} ```
Use the config file option: ``` asciidoc-link-check README.adoc -c <configfile.json> ```
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.