Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/star-hengxing/typst-xmake
Automated compilation of Typst and pseudo hot reload.
https://github.com/star-hengxing/typst-xmake
typst xmake
Last synced: 3 months ago
JSON representation
Automated compilation of Typst and pseudo hot reload.
- Host: GitHub
- URL: https://github.com/star-hengxing/typst-xmake
- Owner: star-hengxing
- License: gpl-3.0
- Archived: true
- Created: 2023-03-28T04:18:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-31T11:38:40.000Z (over 1 year ago)
- Last Synced: 2024-04-04T19:38:10.548Z (8 months ago)
- Topics: typst, xmake
- Language: Lua
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-typst-cn - Typst xmake
README
# Typst xmake
Use [xmake](https://github.com/xmake-io/xmake/) as build system to compile [typst](https://github.com/typst/typst) to pdf.
# Getting started
On windows, try
```sh
scoop install xmake typst
``````sh
xmake
```After compilation success, you can find your pdf in `build/main.pdf`.
# Live coding
Open the compiled pdf file using your favorite pdf reader, then try
```sh
xmake watch -d src
```Modifying `src/resume.typ` and save, xmake will automatically recompile.
# Reference
- [typst-cv-template](https://github.com/skyzh/typst-cv-template)