Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Update README.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav Nelson committed Jan 31, 2018
1 parent 95da3b7 commit 91631c7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,21 @@ asciidoc-link-check https://github.com/gaurav-nelson/asciidoc-link-check/blob/ma
==== Check links from standard input
[source,bash]
----
cat *.adoc | asciidoc-link-check -p
cat <filename>.adoc | asciidoc-link-check -p
----

==== Check links in all asciidoc files in a directory

Check recursively in the current directory:
[source,bash]
----
find . -name \*.adoc -exec asciidoc-link-check -p {} \;
----

Check recursively in the other directories:
[source,bash]
----
find <directory> -name \*.adoc -exec asciidoc-link-check -p {} \;
----

=== Using in your node project
Expand Down

0 comments on commit 91631c7

Please sign in to comment.