https://github.com/hyrious/typst-syntax-highlight
Typst sublime text syntax highlighting
https://github.com/hyrious/typst-syntax-highlight
Last synced: 5 days ago
JSON representation
Typst sublime text syntax highlighting
- Host: GitHub
- URL: https://github.com/hyrious/typst-syntax-highlight
- Owner: hyrious
- License: mit
- Created: 2023-04-21T09:05:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-27T03:43:32.000Z (4 months ago)
- Last Synced: 2026-04-04T12:57:45.317Z (about 1 month ago)
- Language: Typst
- Homepage: https://typst.app
- Size: 123 KB
- Stars: 20
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Typst syntax highlight
[](./LICENSE.txt)
[](https://www.sublimetext.com/blog/articles/sublime-text-4)
## 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](https://www.sublimetext.com/docs/settings.html#syntax-specific-settings)
with the config below:
```json
{
"auto_complete_selector": "text.typst"
}
```
### Build with Makefile
You can create a [build system](https://www.sublimetext.com/docs/build_systems.html)
with the config below:
```json
{
"cmd": ["make"],
"selector": "text.typst",
"file_regex": "┌─ (...*?):([0-9]*):?([0-9]*)",
"env": { "NO_COLOR": "1" },
"cancel": { "kill": true }
}
```
## Development
### Update available syntaxes for `raw`
Required: `cargo` (Rust), `just` (optional)
First, update version of `typst-syntax` in `gen/Cargo.toml`, then run:
```sh
just
```
## License
MIT @ [hyrious](https://github.com/hyrious)