ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Typst

by hyrious ST4

Typst sublime text syntax highlighting

Details

  • 0.2.23
  • typst.​app
  • github.​com
  • 2 months ago
  • 3 hours ago
  • 3 years ago

Installs

  • Total 3K
  • Win 975
  • Mac 1K
  • Linux 999
Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30
Windows 1 3 6 2 0 1 2 0 1 3 0 0 3 0 3 2 0 0 1 1 2 3 4 2 2 3 2 2 0 0 2 0 1 2 1 1 0 2 2 1 3 2 3 5 1 1
Mac 0 2 3 2 1 2 1 2 3 1 1 1 0 1 2 2 2 1 1 3 4 1 2 0 0 2 3 1 0 0 1 1 2 3 2 0 2 1 1 0 1 2 2 2 1 0
Linux 0 2 1 1 2 1 6 3 1 3 2 3 4 3 0 3 1 0 0 1 1 2 3 5 2 5 2 2 3 1 1 3 0 1 0 3 3 2 1 2 2 2 1 1 1 2

Readme

Source
raw.​githubusercontent.​com

Typst syntax highlight

screenshot

Install

  • Via Package Control: search for Typst.
  • Manual: clone this repo into your Sublime Packages folder.

Recipes

Show auto complete panel without pressing TAB

You can create a syntax specific settings with the config below:

{
  "auto_complete_selector": "text.typst"
}

Build with Makefile

You can create a build system with the config below:

{
  "cmd": ["make"],
  "selector": "text.typst",
  "file_regex": "┌─ (...*?):([0-9]*):?([0-9]*)",
  "env": { "NO_COLOR": "1" },
  "cancel": { "kill": true }
}

Development

Update generated syntax data

Required: cargo (Rust), just (optional)

First, update versions of Typst/Codex dependencies in gen/Cargo.toml, then run:

just

License

MIT @ hyrious