Skip to main content

What a block editor should output

Published: November 24, 2026

The page you are reading is a tree of blocks. The headings and the paragraphs are all entries with a named type and their own data, and the renderer drawing this page is Clepit’s renderer.

That is not a demonstration. It is the point of the format: the tree can be read without the editor that wrote it.

Blocks, not a heap of markup

If a document is stored as one long HTML string, the only thing you can do with it is display it. Want to count the headings, pull the first paragraph to describe a page, or know when an image is embedded, and you must parse HTML, which is work every consumer redoes. A tree gives that away free: headings are headings, images are images, and both can be asked about.

Framework-agnostic means renderable anywhere

If the tree is tied to no rendering library, the same document can be rendered in the browser, on the server, or somewhere not yet written. This page was rendered on the server and sent ready, while the same document inside the editor is rendered in the browser. It is the identical tree in both.

Revisions get cheap when the shape is known

With a list of named entries, comparing two versions is a paragraph-by-paragraph comparison, and the whole page does not look new because one character changed. That is what makes revisions, the split between published and draft, and commenting on a document practical, because a comment has something to attach to.

Where to see it

The Clepit page lists what it does and which addresses it publishes, including where published documents live. The same renderer drawing this page draws the product pages too, so the format is visible across the whole site rather than in one demonstration.