Skip to content

0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 08:55
· 31 commits to main since this release
a89e08b

Reported in #7.

Added

The preview follows the document you are editing. Switching to another .typ file re-points an open preview at it, instead of leaving it showing whichever file it was opened with. Turn it off under Preview → Follow the active document, which sets what a new preview does.

A pin, per preview. The pin in a preview's toolbar holds it on one document while you edit others — the counterpart to following, for anyone who keeps one main file on screen. The choice is remembered per leaf and survives a restart.

The preview can take over the editor's tab. A second button in the .typ tab header, and the Typst: Open preview in this tab command, show the preview in place of the editor rather than beside it — the only way it fits on a narrow window. The preview's Open source button goes back. A preview of that document that is already open is revealed instead, since one Tinymist task serves one document.

Fixed

  • A preview that changed document left the previous one's Tinymist server running. Re-pointing now releases the old task, and a task is only stopped once no preview is showing it — so two previews on the same document no longer take each other's server down.
  • A preview's theme choice is written to the workspace when it is made, rather than whenever Obsidian next happened to save the layout.

Requires Tinymist 0.13.0 or newer, installed separately. Obsidian 1.13.0+, desktop only.

Full changelog: 0.2.1...0.3.0