typstfmt
« Back to VersTracker
Description:
Formatter for typst
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: typst formatter rust cli productivity
Install: brew install typstfmt
About:
Typstfmt is a code formatter designed specifically for the Typst markup language. It automatically formats Typst source files to ensure consistent styling and improve code readability. This tool helps maintain clean, professional-looking documents and streamlines the writing workflow.
Key Features:
  • Automatic code formatting based on defined style rules
  • Preserves code semantics while restructuring layout
  • Integrates easily into editors and CI/CD pipelines
  • Supports configuration via a config file
Use Cases:
  • Standardizing formatting across Typst documents in a team setting
  • Automatically cleaning up Typst code generated by AI or other tools
  • Integrating into pre-commit hooks to enforce style guidelines
Alternatives:
  • Typst LSP – Provides formatting as one feature among many (syntax highlighting, code intelligence), whereas typstfmt focuses purely on formatting.
Version History
Detected Version Rev Change Commit
Sep 14, 2024 10:07pm 0 VERSION_BUMP edeb7387