class

LinkResult

@Js
class LinkResult : Obj

LinkResult

constructors none

Link not handled by processor

wrapTextIn

Wrap the link text in a node

replaceWith

Replace the link with a node, e.g

fields includeMarker

If a LinkInfo.marker is present, include it in processing (i.e

node

pos

wrap

methods replace

includeMarker Bool : includeMarker

If a LinkInfo.marker is present, include it in processing (i.e. treat it the same way as the brackets).

node Node : node

none static new none()

Link not handled by processor

pos const Position : pos

replace Bool replace()

replaceWith static new replaceWith(Node node, Position pos)

Replace the link with a node, e.g. for this:

[^foo]

The processor could decide to create a footnote reference node instead which replaces the link.

node: the node to replace the link with pos: the position to continue parsing from

wrap const Bool : wrap

wrapTextIn static new wrapTextIn(Node node, Position pos)

Wrap the link text in a node. This is the normal behavior for links, e.g. for this:

[my *text*](destination)

The text is my *text*, a text node and emphasis. The text is wrapped in a link node, which means the text is added as child nodes to it.

node: the node to which the link text nodes will be added as child nodes pos: the position to continue parsing from

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST