Skip to content

Appendix C — Content Block Reference

Core Blocks

heading

For section titles and hierarchy.

text

For prose and inline markdown-compatible narrative text.

code

For source examples with optional language, highlight-lines, and show-line-numbers.

list

For ordered/unordered bullet structures.

image

For visual assets with optional alt and caption.

divider

For visual separation between block groups.

container

For nested composition.

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

Extension Block Pattern

Extensions are explicit typed blocks.

PropertyTypeRequired
kind"extension"Yes
typestringYes
fallbackContentBlock?No
...unknownNo

Example: Table Extension

{
"kind": "extension",
"type": "acme.table",
"headers": ["Name", "Role"],
"rows": [
["Alice", "Engineer"],
["Bob", "Designer"]
],
"fallback": {
"kind": "list",
"ordered": false,
"items": ["Name: Alice, Role: Engineer", "Name: Bob, Role: Designer"]
}
}

Rendering Notes

  • Render core blocks directly.
  • For unsupported extensions, render fallback.
  • If fallback is absent, render a visible placeholder.
  • Preserve block order in node content arrays.