A vscode extension for Typst local packages management and synchronization.
22
stars
6
commits
TypeScript
primary language
Nov 30, 2023
updated
![]()
A tool for Typst local packages management and synchronization.
https://github.com/OrangeX4/vscode-typst-sync
Shift + Cmd/Ctrl + P to open the command panel to execute the commands. Of course, you can also set shortcuts for these commands.Import Typst Package command: get text like #import "@preview/example:0.1.0": * and search local packages and preview packages.Import Typst Local Package command: get text like #import "@local/mytemplate:0.1.0": * and only search local packages.Create Typst Local Package command: create a typst local package.Open Typst Local Package command: open a typst local package entrypoint file to edit it.syncRepo setting 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 with Typst Sync).Pull Typst Repo: pull from repository only.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-packagesImport Typst PackageImport Typst Local PackageCreate Typst Local PackageOpen Typst Local PackagePush Typst RepoPull Typst RepoTypst SyncThis project is licensed under the MIT License.
6 commits
TypeScript
100.0%
A vscode extension for Typst local packages management and synchronization.
22
stars
6
commits
TypeScript
primary language
Nov 30, 2023
updated
![]()
A tool for Typst local packages management and synchronization.
https://github.com/OrangeX4/vscode-typst-sync
Shift + Cmd/Ctrl + P to open the command panel to execute the commands. Of course, you can also set shortcuts for these commands.Import Typst Package command: get text like #import "@preview/example:0.1.0": * and search local packages and preview packages.Import Typst Local Package command: get text like #import "@local/mytemplate:0.1.0": * and only search local packages.Create Typst Local Package command: create a typst local package.Open Typst Local Package command: open a typst local package entrypoint file to edit it.syncRepo setting 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 with Typst Sync).Pull Typst Repo: pull from repository only.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-packagesImport Typst PackageImport Typst Local PackageCreate Typst Local PackageOpen Typst Local PackagePush Typst RepoPull Typst RepoTypst SyncThis project is licensed under the MIT License.
6 commits
TypeScript
100.0%