https://github.com/chengluyu/typst-template
https://github.com/chengluyu/typst-template
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chengluyu/typst-template
- Owner: chengluyu
- Created: 2024-01-08T07:32:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-08T07:45:17.000Z (over 1 year ago)
- Last Synced: 2025-02-08T16:14:31.781Z (4 months ago)
- Language: Typst
- Size: 21.5 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Typst Template
This is a Typst slide template for my PQE.
## Features
- Scala 3 syntax highlight.
- MLscript syntax highlight.## Usage
- Install typst-lsp in VSCode.
- Instlal typst-preview for live preview in VSCode.
- Enable this settings in your VSCode's settings.json.
```json
{ "typst-lsp.exportPdf": "onPinnedMainSave" }
```
So, typst-lsp will only compile PDF files when pinned tab is saved.Note that the Typst comes with typst-lsp already includes [Polylux][polylux]).
You may need to install the following fonts.[polylux]: https://github.com/andreasKroepelin/polylux
- [STIX Two Math](https://github.com/stipub/stixfonts) for equations
- [Fira Code](https://github.com/tonsky/FiraCode) for inline code and code block