Check if the internal and external references in asciidoc files are valid.
An atom package for checking internal(xref) and external(link) references:
.adoc
files in the folder are checked recursively)See Inline Anchor section in Asciidoc syntax quick reference.
.adoc
file.Check References
option, or click Ctrl+Alt+l
..adoc
file or a folder and select Check References
option.If there are any errors, they are shown as notifications.
[[anchor]]
and [[anchor, description]]
* [[[anchor]]]
or * [[[anchor, description]]]
[#anchorname]
and anchor:anchorname[description]
<<anchorname>>
or <<anchorname, description>>
.adoc
files:
<<path/to/file.adoc>>
, <<path/to/file.adoc#section>>
, <<path/to/file#section>>
or with an additional description (e.g. <<path/to/file.adoc, description>>
)xref:path/to/file.adoc[description]
link:path/to/file[description]
link:
macro (e.g. link:URI[description]
) or without: http://www.google.com
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.