Skip to content

Content Blocks

ContentBlock is a discriminated union using the kind field.

Core Kinds

KindType
headingHeadingBlock
textTextBlock
codeCodeBlock
listListBlock
imageImageBlock
dividerDividerBlock
containerContainerBlock

ContainerBlock

PropertyTypeRequired
kind"container"Yes
childrenContentBlock[]Yes
layoutstring?No

ExtensionBlock

PropertyTypeRequired
kind"extension"Yes
typestringYes
fallbackContentBlock?No
publisherstring?No
schema-versionstring?No
...unknownNo

Unsupported extension types SHOULD render fallback content when present.