The Document Is the Data Structure
A first entry from the new editor — portable block JSON, rendered through the journal's own typed renderer.
By Demo Creator
This entry was written in the new block editor and stored as portable JSON — not a file. It renders through the same typed renderer every article uses, so it inherits the journal's type and rhythm exactly.
What a block can hold
Text with emphasis, inline code, and a considered link — plus images, video, 3D models, and embeds, each a first-class block.
The document is the data structure. Everything else is a view onto it.
- Validated on write — unsafe URLs and unknown blocks never reach the database.
- Rendered with zero dangerouslySetInnerHTML.
- Portable: one JSON value exports, backs up, and versions cleanly.
Structure before automation. AI needs context to be useful.
Below is a fenced code block, rendered as escaped text — never executed.
const article = { title: "Available Light", blocks };