Verso

A markdown editor with a live LaTeX preview

Editor · CRDT · WASM

LaTeX output looks good, and writing raw LaTeX gets in the way while you are still working out what to say.

Verso lets you write plain markdown and watch a typeset document render beside it. Pandoc, compiled to WebAssembly, turns the markdown into LaTeX in a web worker, and a second worker compiles the LaTeX with XeTeX, all in the browser. Collaboration runs on Yjs, a CRDT, with live cursors, comments and version history, and a document can go out as a PDF, as a Word file or straight to a blog.

Decisions

The live path is deterministic and runs without a model. The AI stays off until you turn it on, and when you ask it for an edit, it returns positioned suggestions that you review one by one.

Templates have sealed slots. A template is a .tex file with markers for the title, the body, the font and the margins. The model sees your markdown and the slot names only, while the preamble, fonts and margins sit outside the slots where it cannot reach them.

All projects