Skip to content

Typstry v0.1.1

Pre-release
Pre-release

Choose a tag to compare

@Sovichea Sovichea released this 30 Jun 08:07

Welcome to Typstry v0.1.1—a lightweight, local-first Typst editor built with Tauri v2, Bun, and CodeMirror 6.

Typstry follows a Unicode-First Philosophy, ensuring complex scripts such as Khmer, Arabic, and Lao align, and wrap correctly alongside code without cursor-offset issues.


What’s New in v0.1.1

Preview and LSP Reliability

  • Fixed live on-type preview updates on Windows.
  • Fixed forward synchronization between the editor and preview.
  • Fixed Windows path mismatches caused by \\?\ verbatim path prefixes.
  • Improved case-insensitive path matching on Windows.
  • Restored the active document and preview after restarting Tinymist.
  • Added clearer preview startup and forward-sync error logging.

Editor Fixes

  • Fixed syntax highlighting for nested code expressions.
  • Fixed highlighting for indented Typst lists.
  • Improved LSP diagnostic path matching across Windows, Linux, and macOS.

Release Packaging

  • Added automated release builds through GitHub Actions.
  • Windows releases are provided as .msi installers.
  • Linux releases include:
    • .AppImage with bundled runtime dependencies.
    • .deb with WebKitGTK installed automatically through APT.
  • Added an initial macOS build pipeline for compatibility testing.

Key Features

Unicode-Aligned Editing and Rendering

  • Unified Font Fallback Engine: Detects Unicode scripts and recommends compatible MiSans or Noto Sans families with explicit user consent.
  • Precise Cursor and Wrap Alignment: Prevents cursor offsets and broken wrapping when Latin and non-Latin scripts appear together.
  • System Font Discovery: Lists installed monospace fonts for code and other installed families for Unicode fallback.
  • Bundled Core Fonts: Includes MiSans Latin for the interface and Fira Mono for code editing.

IDE-Grade Editor Experience

  • LSP-Powered Autocompletion: Context-aware completion powered by Tinymist.
  • Smart Bracket Colorizer: Applies rainbow bracket matching to code punctuation while ignoring strings and comments.
  • Escaped Symbol Protection: Prevents automatic closing when symbols are preceded by a backslash, such as \$.
  • Typst Syntax Highlighting: Supports functions, variables, numbers, headings, labels, code expressions, and scientific notation.
  • Interactive Document Outline: Displays collapsible headings and navigates to their editor and preview locations.

Native Workspace and Layout Management

  • Persistent Tab State: Remembers open files, selections, scroll positions, folds, and split ratios.
  • Scrollable Tab Bar: Provides VS Code-style navigation when open tabs overflow.
  • Dynamic File Explorer: Uses lazy directory loading and updates when workspace files change externally.
  • Lucide Icon Set: Provides consistent icons throughout the application.
  • Custom Frameless Title Bar: Offers a compact native desktop layout.
  • Integrated Log Console: Displays diagnostics, preview errors, and toolchain status.

Managed Toolchain and Live Preview

  • Managed Tinymist Toolchain: Downloads and manages stable Tinymist releases without requiring a separate Typst installation.
  • Live Tinymist Preview: Updates documents while typing and supports editor-to-preview synchronization.
  • Imported Document Policy: Imported files update on save by default. Add //@allow-preview as the first line to enable independent live preview.
  • Cached Preview Sessions: Preserves mounted preview sessions when switching between tabs.
  • PDF Export: Uses Tinymist’s embedded Typst compiler.

Keyboard Shortcuts

  • Ctrl + N: New file
  • Ctrl + K, Ctrl + O: Open workspace
  • Ctrl + B: Toggle explorer sidebar
  • Ctrl + ,: Open settings
  • Alt + Z: Toggle word wrap
  • Ctrl + ~: Toggle log console
  • Ctrl + S: Save file
  • Ctrl + E: Export PDF