LinkResolver
laika.rewrite.link.LinkResolver
class LinkResolver(root: DocumentTreeRoot, slugBuilder: String => String) extends RewriteRulesBuilder
The default rewrite rules responsible for resolving link references that get applied to the raw document tree after parsing.
These rules resolve references to images, footnotes, citations and other inline targets, and generate the identifiers for targets with auto-generated ids like auto-number footnotes.
The rules replace references pointing to internal or external targets with the corresponding resolved link elements, as well as the targets themselves with nodes that contain their final ids.
In case of duplicate target ids or unresolvable references runtime messages get inserted into the final document tree.
Attributes
- Graph
-
- Supertypes
Members list
In this article