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

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. 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

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime