Heading
A heading defined via prefix symbols. A heading is identifiable, as it can be looked up in the document and can be referenced. It is also location trackable, meaning its position in the document hierarchy is determined, and possibly displayed.
Parameters
importance (depth=1
for H1, depth=6
for H6)
whether this heading is decorative. A decorative heading does not trigger automatic page breaks and is not counted in the document's hierarchy and is not numbered.
optional custom ID. If null
, the ID is automatically generated
Constructors
Properties
Functions
Accepts an IdentifierProvider to generate an identifier for this element.
Accepts a visitor.
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.