Heading Block
A section heading whose children are the section; the heading level comes from nesting, not from an attribute.

Extends

id
The block's permanent identity inside its document.
inherited
revision
Output only: CID of the last Change that modified this block.
optional · inherited
type
Block type tag, always `Heading`.
Headingoptional
text
The heading text, without markup.
optional
annotations
Inline formatting, links and mentions over `text`.
of optional
attributes
Parent-layout attributes for the section under the heading.
optional
childrenType
How this block lays out its children — a children type such as `Unordered` or `Grid`.
optional
columnCount
Number of columns the children occupy when `childrenType` is `Grid`.
optional
textAlignment
Horizontal alignment of the block's text — a text alignment such as `center`; omitted for the default `left`.
optional

other fields:

A heading block starts a section. It has text and annotations. There is no level attribute: a heading's depth is its nesting depth. textAlignment (a text alignment) aligns the heading text, and is omitted for the default left. The blocks under it are its section, laid out by childrenType and columnCount (see children type). In the markdown dialect a heading's children sit at its indentation until the next heading of the same level.

See also