Helix and Typst: a surprisingly tidy pairing for nicer docs

The setup that makes Markdown jealous
I love Markdown, too. It’s tiny, friendly, and you can teach it to your grandma in an afternoon. But it’s also a little... limited. When documents get serious, people either slog through LaTeX or haul out an office suite — bloated, fiddly, and brittle. Typst arrived as a cleaner, modern alternative: markup that aims for the precision of LaTeX without the endless fiddling.
Enter Helix, the fast terminal editor, and tinymist, a language server for Typst. Tinymist provides the usual language-server goodies — semantic highlighting, formatting, code actions — but the headline feature is a live preview. It has been reported that the live preview even keeps your cursor in sync with Helix when you click around the rendered view. Pretty neat, right?
How to get there
Getting this to hum is simple if you’re comfortable with a little config. The user configured Helix to use tinymist by adding an entry in ~/.config/helix/languages.toml and enabling the preview. That tiny tweak turns a terminal editor into a lightweight, interactive authoring environment for nicely formatted documents — no heavy office file required, no LaTeX voodoo.
A warm thank you to Felix, who allegedly pointed out the live preview trick. The emotional moment here is pure delight: a tiny tweak that makes writing complex docs feel less like a chore and more like flow. Who wouldn’t want that?
Sources: ergaster.org, Lobsters
Comments