Skip to main content

Preview & history

The output side of the Studio: render the active template to check your work, then track every change through per-file history.

Preview

The preview panel renders the active template on demand — there's no auto-refresh; you trigger it from the panel — using the project's data.json as the render context:

  • HTML templates offer an HTML and a PDF mode, switched with the HTML/PDF toggle. The PDF mode is the real Chromium render.
  • DOCX/XLSX templates with preferredOutput: pdf show an approximated PDF rendered by LibreOffice — close, but not Word/Excel-perfect. Click Render to generate it.
  • DOCX/XLSX templates with preferredOutput: native have no inline preview (there's nothing to embed) — the panel just offers the download.

The download button delivers whatever preferredOutput selects: PDF for HTML templates (and for binaries set to pdf), or the native .docx/.xlsx when set to native. See Output formats.

Version history

Every file has its own history. From the history view you can browse past revisions, open one to compare, and restore it. Grouping the current changes into a commit with a message creates a named point you can return to. The underlying endpoints are documented in the API reference.