typstyle-tampermonkey

Format code using typstyle in typst.app

As of 10.07.2025. See ბოლო ვერსია.

ავტორი
ParaN3xus
რეიტინგი
0 0 0
ვერსია
0.0.2
შექმნილია
10.07.2025
განახლებულია
10.07.2025
Size
833 KB
ლიცენზია
MPL 2.0
გამოყენებს მათ

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。