Image Directory Setting
-Via the following directive, the image directory is set to "./images":
-:imagesdir: ./images-
What is tested here
-This file serves as smoketest for kbd:[htmlSC], as it deliberately forces -the (asciidoc) html generator to create the following errors within the html -output:
--
-
-
-
Broken cross reference (missing link target for internal link). See section [Cross-References].
-
- - - - -
-
-
Duplicate ID’s or Bookmarks (dupliate link target)
-
- -
-
Missing local resource (missing link to local file)
-
-
Cross-References, a.k.a. Internal Links
--
-
-
-
A link to the subheading below: title.
-
- -
-
A second link, but misspelled
-
-
This plugin has been created in context of the aim42 Architecture Improvement project
-aim42 Architecture Improvement
- -Missing Images
-One image from the image directory - created with this asciidoc:
-image::aim42.png["alternate-text", title="aim42-logo", width="150"]-

A Missing Image
-Another image tag - but this image (with the strange name) -does not exist in the file system:
-image::missing-image-urjk8ybepw8.jpg["missing...", title="missing-image"]-

A data:image
-In this case, an inline image (data:uri) is generated by setting the switch :data-uri:
The resulting image is fully contained within the generated HTML and thus needs no additional check.
-Duplicate ID’s or Bookmarks
-In Asciidoc, ID’s are defined using double brackets
-[[some-anchor]]-
One can reference those id’s/bookmarks -with [some-anchor] directive in asciidoc.
-In this section, we define this id:
-[[some-anchor]]-
for the first time. -Where will the browser jump to, if we click here?
-Second definition
-In this section, we define it the second time.
-External Links
-(to be done)
-