# Setup Typst

The template file is [template.typ](template.typ), and the preview is [template.pdf](template.pdf).

To edit, you need to have [vscode](https://code.visualstudio.com/) and the following extensions installed:
- [Typst LSP](https://marketplace.visualstudio.com/items?itemName=nvarner.typst-lsp)
- [Tinymist Typst](https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist)

## How to preview in a browser?
Press `Command`-`Shift`-`P` (MacOS), and then select:
- "Typst Preview: Preview current file in browser" to open the preview in a browser (need to close all existing preview windows).
- "Typst Preview: Preview current file in browser and slide mode" to play slides.
