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
  • 15 hours ago
  • 4 hours ago
  • 3 years ago

Installs

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

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