asciidoc-link-check

asciidoc-link-check

Gaurav Nelson (gauravnelson) Publisher

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.

Channel Version Published

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" }
      ]
    

    } ```

  2. Use the config file option: ``` asciidoc-link-check README.adoc -c <configfile.json> ```

Developer website

Contact Gaurav Nelson

Details for asciidoc-link-check

License
MIT
Last updated
13 August 2020

Share this snap

Generate an embeddable card to be shared on external websites.


Related blog posts


Where people are using asciidoc-link-check

Users by distribution (log)

Ubuntu 20.04

Install asciidoc-link-check on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Is there a problem with asciidoc-link-check? Report this app