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

  1. 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.
  2. 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.
  3. Type or paste the page into **HTML source**. The preview and the check follow as you type.
  4. 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".
  5. Click the preview to try buttons and toggles. Clicks and time passing change only the preview, never the file.
  6. Save with Cmd/Ctrl+S. The kit writes only the source you typed.

Menus and controls

What the HTML kit offers at the shipped version
WhereItemWhat it does
Edit menuReplace HTML…Replaces the whole page with new source, as one undo step
Edit menuUndo / RedoTakes back or reapplies your own last change; the agent's changes have their own undo
Preview paneClickRuns the page's click handlers without changing the file
Diagnostics stripCode and messageEach problem the check found in the current source
Kition DesktopSave 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

Ready when you are.

Kition is the open pro suite for AI: 16 professional kits and an agent in one free desktop app, for macOS, Windows and Linux.