Numbered

constructor(key: String, referenceId: String? = null, childrenSupplier: (location: String) -> List<Node>)

Parameters

key

name to group (and count) numbered nodes

referenceId

optional ID for cross-referencing via a com.quarkdown.core.ast.quarkdown.reference.CrossReference

childrenSupplier

supplier of the node content given the evaluated SectionLocation, formatted according to the active DocumentNumbering