LinkAliasResolver

laika.rewrite.link.LinkAliasResolver
See theLinkAliasResolver companion object
case class LinkAliasResolver(sourceSelector: TargetIdSelector, targetSelector: TargetIdSelector, referenceResolver: LinkSource => Option[Span], formats: TargetFormats) extends TargetResolver

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def replaceTarget(rewrittenOriginal: Element): Option[Element]

Creates the final target element (with its final, resolved identifiers).

Creates the final target element (with its final, resolved identifiers).

Value parameters

rewrittenOriginal

the original target node in the raw document, potentially already rewritten in case any of its children got rewritten

Attributes

Definition Classes
override def resolveReference(linkSource: LinkSource): Option[Span]

Creates the final link element for the specified reference pointing to this target. In case this target does not know how to resolve the element it should return None.

Creates the final link element for the specified reference pointing to this target. In case this target does not know how to resolve the element it should return None.

Value parameters

linkSource

the source of the link

Attributes

Definition Classes
def resolveWith(referenceResolver: LinkSource => Option[Span]): LinkAliasResolver

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

val precedence: Int

Attributes

Inherited from:
TargetResolver

Attributes

Inherited from:
TargetResolver

Attributes

Inherited from:
TargetResolver