typstyle-tampermonkey

Format code using typstyle in typst.app

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
ParaN3xus
今日安裝
0
安裝總數
9
評價
1 0 0
版本
0.0.8
建立日期
2025-07-10
更新日期
2025-12-31
尺寸
768.2 KB
授權條款
MPL 2.0
腳本執行於

typstyle-tampermonkey

A userscript that adds typstyle formatter to typst.app.

Source Code: https://github.com/typstyle-rs/typstyle-tampermonkey

Usage

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

License

This project is licensed under MPL 2.0.

Uses typstyle which is licensed under Apache 2.0.