ReferenceLink

constructor(label: InlineContent, referenceLabel: InlineContent, fallback: () -> Node, onResolve: MutableList<(resolved: LinkNode) -> Unit> = mutableListOf())

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.