HTML, Photo, Vector and Design
Edit .html pages with a live preview in the HTML kit
The HTML kit (Preview) puts the source of an .html or .htm page beside a live preview drawn by its own engine, with a check for files that will not load and for script errors.
Updated
By Kition Docs
Verified against Kition Desktop 0.1.1 (0532c350) on 2026-12-02
What the HTML kit is for
The HTML kit edits one web page at a time: an .html or .htm file in your workspace. It is labelled Preview: it works, but it is the least finished of the design kits, and some things a page can do are not drawn yet. Its own description is "an editor and live preview for HTML pages, for people and AI agents".
The editor has two panes side by side. On the left, HTML source is a plain text area where you type the page. On the right, Preview draws the page with the kit's own engine, and below it a strip lists every problem the check found, or "No rendering diagnostics". The status bar reads "HTML, CSS and JavaScript preview". Scripts in the page run in the preview: a click on the preview is passed to the page, and its timers and animations keep running.
Nothing leaves the page. The preview fetches nothing from the network or the disk, so linked images, style sheets and scripts are not loaded: each one is reported as a file that will not load. Write styles and scripts into the page, and put pictures in as data: addresses or inline SVG.
Create or open a page
- In the sidebar, choose **New page** (+) and pick **HTML** in the **Documents** group. Kition creates **Untitled HTML.html** in the workspace and opens it; rename it in the file tree.
- To open an existing page, click any `.html` or `.htm` file in the file tree. It opens in the HTML kit, in **Menus** display mode by default.
- Type or paste the page into **HTML source**. The preview and the check follow as you type.
- Read the strip under the preview. A missing picture or style sheet shows as `html.resource-unavailable`; a script error as `html.javascript-error`. Fix the source until the strip says "No rendering diagnostics".
- Click the preview to try buttons and toggles. Clicks and time passing change only the preview, never the file.
- Save with Cmd/Ctrl+S. The kit writes only the source you typed.
Menus and controls
| Where | Item | What it does |
|---|---|---|
| Edit menu | Replace HTML… | Replaces the whole page with new source, as one undo step |
| Edit menu | Undo / Redo | Takes back or reapplies your own last change; the agent's changes have their own undo |
| Preview pane | Click | Runs the page's click handlers without changing the file |
| Diagnostics strip | Code and message | Each problem the check found in the current source |
| Kition Desktop | Save As… (Cmd/Ctrl+Shift+S) | Saves the page under another `.html` name in the workspace |
What it does not do yet
- It does not load linked images, style sheets or scripts; write them into the page.
- The preview lays pages out 640 pixels wide; there is no control for the page size or a dark preview.
- You edit the source only; there is no editing on the preview itself.
- There is no export to other formats (see the export page), and no printing.
- The look can differ slightly from a web browser at the edges of text and curves. Date, number and color inputs and select lists are only partly drawn, and scripts get a subset of the browser's interfaces. Typing into fields inside the preview is not passed to the page.
- The source pane takes about one million characters.
Note
Kition Desktop offers two display modes, Menus and Classic. The HTML kit has one menu, Edit, so both modes show the same few commands.
Version and sources
This guide describes Kition Desktop as of source 0532c350, checked on 2026-12-02. Connected actions also depend on the configured model provider or service. If your installed version is older, some controls may differ.
Related pages
Save and share .html pages from the HTML kit
The HTML kit saves the page as .html and has no export formats yet; this page covers Save, Save As, sharing the file, and how to get a picture of the page.
Ask the agent to write and fix .html pages
In the HTML kit the agent rewrites the page source, runs the kit's check for missing files and script errors, and can click or advance the preview to test a page.
The sixteen kits
Which kit opens which file, where each kit sits in the create menu, which formats open read-only, and how kits are updated.
Display modes: Menus and Classic
Switch a kit between the compact Menus layout and the full Classic ribbon, and see which mode each kit opens in.