ReferenceLink
class ReferenceLink(val label: InlineContent, val referenceLabel: InlineContent, val fallback: () -> Node, val onResolve: MutableList<(resolved: LinkNode) -> Unit> = mutableListOf()) : ReferenceNode<ReferenceLink, LinkNode>
A link that references a LinkDefinition.
Parameters
label
inline content of the displayed label
referenceLabel
label of the LinkDefinition this link points to
fallback
supplier of the node to show instead of label in case the reference is not resolved
onResolve
actions to perform when the reference is resolved.
See also
Constructors
Link copied to clipboard
constructor(label: InlineContent, referenceLabel: InlineContent, fallback: () -> Node, onResolve: MutableList<(resolved: LinkNode) -> Unit> = mutableListOf())
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Retrieves the stored media associated with this node, if any.
Link copied to clipboard
Registers the given definition as the definition associated with this reference within the document handled by context.
Link copied to clipboard