typstyle-tampermonkey

Format code using typstyle in typst.app

Versión del día 11/07/2025. Echa un vistazo a la versión más reciente.

Autor
ParaN3xus
Calificaciones
0 0 0
Versión
0.0.3
Creado
10/07/2025
Actualizado
11/07/2025
Tamaño
808 KB
Licencia
MPL 2.0
Funciona en

typstyle-tampermonkey

A userscript that adds typstyle formatter to typst.app.

Installation

  1. Install a userscript manager like Tampermonkey
  2. Click WIP to install the script
  3. Visit typst.app and start formatting!

Usage

  1. Open any project on typst.app
  2. Click the Typstyle button in the top menu bar to configure settings
  3. Use Ctrl + Alt + F(by default) in the editor to format your code

Build

  1. Build typstyle WASM module with build:wasm of typstyle-playground.

  2. Copy the built typstyle-wasm folder to this project and build

   bun i
   bun run build

License

This project is licensed under MPL 2.0.

Uses typstyle which is licensed under Apache 2.0.

长期地址
遇到问题?请前往 GitHub 提 Issues。