Skip to Content

Docs

A cdbx document is a real HTML page you own: semantic headings, paragraphs, and a small library of content blocks — no presentation framework, no runtime dependency. You describe the document, the AI writes it, and you read, print, or export it.

Creating a document

Pick Docs in the New App dialog, or just describe what you want in the main prompt — “write a product brief for our Q3 launch” is enough, no need to find the picker first. You get a blank title block to start from — write it directly, or hand it to the AI.

Then just ask: “turn this into a two-page case study about our biggest customer.” The AI writes the document for you.

From another AI client: connect cdbx’s MCP server and call create_docs with the document’s content directly — no picker, no separate write step.

Importing an artifact — already have a document built somewhere else, like an HTML report from a Claude conversation? In the prompt’s + menu, choose Import HTML artifact and pick the file. It’s read in your browser only, never uploaded. Send it with nothing else typed and it lands exactly as-is — same styling, same content, no AI involved, instantly. If you’d rather have it rebuilt as a real cdbx document, type what you want changed before sending — that trades exact visual fidelity for cdbx-native editing.

The one rule that’s actually fixed: every major section is a heading with a stable id (<h2 id="...">). Nothing else about layout or structure is a requirement — it’s a reference to draw from, not a closed set.

Layouts and content blocks

The starter document ships four layout patterns — a sticky numbered table-of-contents sidebar, a single centered column, a magazine-style two-column layout, and a cover-plus-sections structure — and a reusable content-block library the AI reaches for first: a metadata panel (date/author/role as label-value pairs, never woven into a sentence), a callout box, an N-up card grid, a single-stat metric, a status tag, a checklist, a table, a collapsible toggle section, and a resume-style work-history entry. Most content is still plain headings and paragraphs — a block only gets used when it genuinely earns its keep, not as decoration. It composes from these instead of writing everything as prose, and invents past them when content genuinely doesn’t fit.

Reading and printing

A document reads as a normal page — scroll it like any long web page. An outline of its sections floats in the left margin as you scroll; turn it off from the ••• menu (top right) and a slim scroll-progress indicator takes its place instead.

The same ••• menu has a Page view switch — a real paginated view with genuine page boundaries, built on the same engine as print, so what you see is exactly what prints. To print, use the Print action in that menu rather than your browser’s own Ctrl+P/⌘P shortcut — it prints just the document, cleanly, regardless of where you’re reading it from.

On the shareable document page (not the in-editor preview), a light/dark switch next to the ••• menu lets you flip the document’s own theme independent of your system setting.

Exporting

Markdown — Settings → Copy & Export → Export Markdown. Headings, paragraphs, lists, tables, the metadata panel, callouts, card grids, metrics, checklists, and resume-style entries all map to their Markdown equivalents.

HTML — Settings → Copy & Export → Export as HTML. One self-contained .html file with the document’s styles built in; it opens in any browser and can be hosted anywhere.

Publish — documents publish and share like any other app, so you can send a link instead of a file.

On-brand documents

Attach a design system and the document takes its colors and fonts from your real tokens straight away, the same mechanism Slides uses. A design system with no color tokens leaves the document on its default theme rather than guessing at brand colors.

Finding your documents

Slides and Docs both live under Files in the sidebar — filterable and sortable by type, with one-click “New Slides”/“New Doc” buttons.

What’s not here yet

  • Editable export to .docx — Markdown ships first; a real Word export is a larger, separate piece of work, added only if real demand shows up.
  • A paginated table of contents — Page view has real page numbers now, so a TOC that points at them is a natural follow-on, not yet built.
Last updated on