Skip to main content

Interface: TemplateHeadingBlock

Template block for rendering a heading.

Properties

PropertyModifierTypeDescription
annotations?readonlyreadonly ParagraphTextAnnotation[]Inline annotations anchored to substrings of the rendered heading text.
class?readonlystring | readonly string[]Stylesheet class name(s) applied beneath inline options.
keepWithNext?readonlybooleanWhether this block should stay on the same page as the following block when possible.
options?readonlyFlowHeadingOptionsOptions that control this item.
textreadonlystringText content to render or inspect.
typereadonly"heading"-