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
  • 3 months ago
  • 8 hours ago
  • 3 years ago

Installs

  • Total 3K
  • Win 1K
  • Mac 1K
  • Linux 1K
Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 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
Windows 0 0 2 6 1 1 3 3 1 1 3 3 1 2 0 2 1 3 2 2 2 3 0 0 3 2 3 6 2 0 1 2 0 1 3 0 0 3 0 3 2 0 0 1 1 2
Mac 2 0 0 2 1 1 2 0 0 0 0 2 1 5 1 1 1 3 4 0 3 2 1 2 0 1 2 3 2 1 2 1 2 3 1 1 1 0 1 2 2 2 1 1 3 4
Linux 1 1 3 0 1 1 3 3 1 0 4 3 4 1 1 1 1 0 1 3 1 4 0 3 3 2 2 1 1 2 1 6 3 1 3 2 3 4 3 0 3 1 0 0 1 1

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