Skip to content

Typsastra Documentation

Typsastra is a local-first writing environment for Typst, designed for research, technical documentation, theses, books, and multilingual long-form writing.

This site brings together step-by-step workflows, tool references, language guides, and contributor documentation.

New in v0.10.2

Typsastra v0.10.2 extends Draft Preview to Fletcher diagrams and CeTZ canvases, improves manual recompilation and source synchronization, and adds workflow polish for new projects.

Read the v0.10.2 release notes.

Diagram placeholders

Draft Preview replaces supported Fletcher diagrams and CeTZ canvases with measured placeholders. Hover a placeholder to inspect its cached thumbnail, and use the Normal/Draft control to compare rendered output.

Draft Preview showing a Fletcher diagram placeholder with its hover thumbnail

Workflow and preview fixes

Manual Recompile always compiles again. Draft inverse sync places the caret at the start of the source expression, first-open projects inherit the global document-language defaults, and Create New Project has a Ctrl+Shift+N / Cmd+Shift+N shortcut. Fresh installs start without the release summary.

v0.10.1: Image helper chains and editor polish

Typsastra v0.10.1 extends image helper handling in both preview directions, removes the first-click delay after a cached preview restore, and refreshes the writable examples and documentation.

Read the v0.10.1 release notes.

Image helper chains

Inverse sync follows nested image helpers to the outermost call that supplied the path, including forwarded parameters, defaults, and named arguments. Draft Preview resolves same-file helper chains and preserves their width and height values in the placeholder.

Draft Preview showing an image placeholder with its hover thumbnail

Preview and editor reliability

Cached preview restores warm the source map before the first inverse-sync click, and scrollbar and gutter markers identify their source after restores and tab changes. Path-taking Typst functions warn about parent-relative paths and offer a root-relative quick fix. Missing toolchains use a non-blocking title-bar badge.

v0.10.0: Search, recovery, and navigation

Typsastra v0.10.0 adds project-wide search and reviewed replacement, a shared main-document outline, Back/Forward source navigation, unsaved-work recovery, and global default document languages.

Read the v0.10.0 release notes.

The screenshots below use the writable 07-editor-workflows examples. Each exercise is a small, ordinary Typst project you can open from Open Examples and edit safely.

Search and replace across a project

Project search across the three-file field notebook

Reviewed replacement showing before and after lines across files

Recover unsaved work

Recovery review showing an unsaved main.typ buffer and a unified diff

Set default document languages

Language settings with the default document languages for new projects

Main-document outline and tab navigation

The outline follows the configured main document while an included chapter is active. The tab-list menu reaches every open source tab.

Shared main-document outline while a chapter is active

Tab list menu listing the main document and included chapters

v0.9: Table tools, standalone files, and faster editing

Typsastra v0.9 introduced the Table Tool and template-based project creation, then added programmable shortcuts, standalone file support, stronger completion, language-provider compatibility, and faster preview navigation through v0.9.6.

Read the v0.9 release notes.

Preview and media examples

The 06-preview-and-media examples cover Draft Preview, nested image helper chains, preview navigation, private fonts, and Markdown notes. The Markdown note exercises sanitized GFM rendering, task lists, tables, workspace links and images, mixed scripts, and blocked remote content.

Markdown note source and live preview in Typsastra

See Draft Preview, PDF preview and synchronization, Image Tools, and Markdown live preview.

Tools and templates examples

The 08-tools-and-templates examples cover project-owned Table Tools blocks, table export and import, and project creation from Universe, downloaded, and user templates. The linked-table exercise can recover a table model from its generated source when project metadata is missing.

Table Tools editing a linked table in the bundled example

See Table Tools, Create from templates, and Project import and export.

Start here

Typsastra's editor, project Explorer, and live PDF preview

Watch feature demos

Draft Preview

See image and diagram placeholders preserve document layout while you work:

Khmer and document typography

See script-aware font and language settings in a real workspace:

Explore the documentation

Use the navigation to browse tutorials and user references. The feature guide groups the product documentation, while the development guide covers building and validating Typsastra itself.