Versions:

  • 0.14.4
  • 0.14.0
  • 0.13.18
  • 0.13.17
  • 0.13.16
  • 0.13.14
  • 0.13.13
  • 0.13.11
  • 0.13.10
  • 0.13.9
  • 0.13.8
  • 0.13.7
  • 0.13.6
  • 0.13.5
  • 0.13.4
  • 0.13.3
  • 0.13.2
  • 0.13.1
  • 0.13.0
  • 0.12.15
  • 0.12.14
  • 0.12.13
  • 0.12.12
  • 0.12.10
  • 0.12.9
  • 0.12.8
  • 0.12.7
  • 0.12.6
  • 0.12.5
  • 0.12.4

Typstyle is a command-line utility developed by Wenzhuo Liu that automatically reformats Typst markup to produce clean, consistent, and visually appealing source code. Designed for writers, scientists, and engineers who use the Typst typesetting system to create publication-ready documents, the tool enforces a unified coding style across large projects, eliminating manual adjustments and reducing version-control noise. By parsing the full Typst syntax tree, typstyle preserves semantic meaning while reordering indentation, line breaks, and spacing according to an opinionated yet configurable ruleset, making it indispensable for collaborative workflows, academic preprints, technical reports, and automated CI pipelines that compile documents on every commit. The project has matured rapidly, reaching version 0.14.4 after thirty incremental releases, each refining edge-case handling, macro formatting, and performance on multi-file projects. Users invoke the formatter against single files or entire directories, optionally integrating it with Visual Studio Code, Vim, or GitHub Actions so every save or pull request triggers silent normalization. Because Typst source is plain text, typstyle also aids documentation websites and book generators that need predictable diffs and minimal line churn. The utility is lightweight, cross-platform, and distributed under a permissive open-source license, allowing teams to embed it into containerized build environments without licensing concerns. Typstyle is available for free on get.nero.com, with downloads provided via trusted Windows package sources such as winget, always delivering the latest version and supporting batch installation alongside multiple applications.

Tags: