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.

class Object
trait Matchable
class Any

Value members

Concrete methods

The default rules for resolving link references to be applied to the document.

The default rules for resolving link references to be applied to the document.

Inherited methods

@unspecialized
Inherited from:
Function1
@unspecialized
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields