Code
A code block.
Parameters
code content
optional syntax language
whether to show line numbers
whether to apply syntax highlighting
range of lines to focus on. No lines are focused if null
optional caption
optional ID for cross-referencing via a com.quarkdown.core.ast.quarkdown.reference.CrossReference
Constructors
Properties
The name of the function that backs this node, from a loaded library.
Whether this node should be tracked in the document's hierarchy.
Whether the synthesized backing call should be treated as a block call. Defaults to true; inline primitive nodes should override to false so the inline output mapper is used during expansion.
Key for localization of the kind of this node, used to look up localized strings in the default com.quarkdown.core.localization.LocalizationTable.
The CrossReferenceableNode.referenceId of this node, if it is a real linkable ID (i.e. not the placeholder).
Functions
Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.
Retrieves the stored media associated with this node, if any.
Registers the location of this node within the document handled by context.
Registers the formatted location of this node within the document handled by context, according to this node's NumberingFormat.
Materializes this node's properties into the arguments of the backing function call. Argument names must match the parameter names of the function identified by backingFunctionName.
Returns a copy of this node with its children replaced by newChildren.