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
class Object
trait Matchable
class Any

Members list

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.

Attributes

Inherited methods

def andThen[A](g: ConfigResult[RewriteRules] => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => DocumentCursor): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields