A tool for Typst local packages management and synchronization.
Shift + Cmd/Ctrl + Pto open the command panel to execute the commands. Of course, you can also set shortcuts for these commands.- Typst Package Manage: manage your typst local packages.
Import Typst Packagecommand: get text like#import "@preview/example:0.1.0": *and search local packages and preview packages.Import Typst Local Packagecommand: get text like#import "@local/mytemplate:0.1.0": *and only search local packages.Create Typst Local Packagecommand: create a typst local package.Open Typst Local Packagecommand: open a typst local package entrypoint file to edit it.
- Sync: synchronize local packages to remote repository.
- You MUST to configure
syncReposetting to enable sync feature. You can input a empty repo in github to init it. Typst Sync: synchronize local packages with remote repository.Push Typst Repo: push to repository (actually consistent withTypst Sync).Pull Typst Repo: pull from repository only.
- You MUST to configure
You should have git installed locally for simple-git to work.
This extension contributes the following settings:
vscode-typst-sync.syncRepo: syncRepo like https://github.com/OrangeX4/typst-sync-repo.gitvscode-typst-sync.dataDir: data-dir in https://github.com/typst/packages#local-packages
- add command
Import Typst Package - add command
Import Typst Local Package - add command
Create Typst Local Package - add command
Open Typst Local Package - add command
Push Typst Repo - add command
Pull Typst Repo - add command
Typst Sync
This project is licensed under the MIT License.