Skip to main content

Block Types

Documents are composed of blocks. Each block has a type, content, and optional metadata.

heading

Section header. Always include metadata.level.
MetadataTypeRequiredDescription
levelintYesHeading level, 1–6. Use proper hierarchy (don’t skip levels).

paragraph

Body text with inline markdown.
No metadata options.

code

Code block with optional syntax highlighting.
MetadataTypeRequiredDescription
languagestringNoLanguage for syntax highlighting (e.g., python, javascript, bash)

list

Bullet or numbered list. Content uses markdown list syntax.
MetadataTypeRequiredDescription
listTypestringNo"bullet" or "ordered"

quote

Block quote.
No metadata options.

table

Markdown-formatted table.
No metadata options.

image

Image block.
MetadataTypeRequiredDescription
urlstringYesImage URL
altstringNoAlt text

divider

Horizontal rule. Content should be an empty string.
No metadata options.

Inline Markdown

Text content in paragraph, heading, list, and quote blocks supports inline markdown:
  • **bold**bold
  • *italic*italic
  • `code`code
  • [link](url)link