AstAttributes

interface AstAttributes

Additional information about the node tree, produced by the parsing stage and stored in a com.quarkdown.core.context.Context.

See also

Inheritors

Properties

Link copied to clipboard

The function calls to be later executed.

Link copied to clipboard
abstract val hasCode: Boolean

Whether there is at least one code block. This is used to load the HighlightJS library in HTML rendering only if necessary.

Link copied to clipboard
abstract val hasMath: Boolean

Whether there is at least one math block or inline. This is used to load the KaTeX library in HTML rendering only if necessary.

Link copied to clipboard

Whether there is at least one Mermaid diagram. This is used to load the Mermaid library in HTML rendering only if necessary.

Link copied to clipboard

The defined links, which can be referenced by other nodes.

Link copied to clipboard

Storage that, for each node that requests its location to be tracked (LocationTrackableNode), contains its location in the document, in terms of section indices.

Link copied to clipboard

Labels/identifiers of nodes that are assigned it based on their position, both own (see locations) and relative to others of the same kind. The labels are often displayed in a caption. Examples of these nodes are figures and tables. For instance, depending on the document's NumberingFormat, an element may be labeled as 1.1, 1.2, 1.3, 2.1, etc.

Link copied to clipboard
abstract val root: NestableNode?

The root node of the tree.

Link copied to clipboard

The table of contents of all the headings in the document. This is generated by the tree traversal stage of the pipeline.

Functions

Link copied to clipboard