https://github.com/ultimatile/typst-raw-lang-tags
Inspect language names and tags accepted by Typst raw code-block highlighting.
https://github.com/ultimatile/typst-raw-lang-tags
syntax-highlighting typst
Last synced: 19 days ago
JSON representation
Inspect language names and tags accepted by Typst raw code-block highlighting.
- Host: GitHub
- URL: https://github.com/ultimatile/typst-raw-lang-tags
- Owner: ultimatile
- License: apache-2.0
- Created: 2026-03-05T07:52:18.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2026-03-10T00:22:48.000Z (3 months ago)
- Last Synced: 2026-05-10T22:54:26.824Z (19 days ago)
- Topics: syntax-highlighting, typst
- Language: Rust
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# typst-raw-lang-tags
A tiny tool that prints the output of `typst::text::RawElem::languages()`.
Use it to inspect language names and tags (mostly extension-derived tokens)
accepted by Typst `raw` code-block highlighting.
You can see the available tags [here](https://github.com/ultimatile/typst-raw-lang-tags/blob/master/result.md).
## Usage
```bash
cargo run > result.txt
```
Running the command also writes `result.md` (Markdown table format).
## Output Files
- `result.txt`: TSV-like plain text from stdout, in `\t` format.
- `result.md`: The same data formatted as a Markdown table.
These outputs correspond to the Typst version specified in `Cargo.toml`.