README.md: added docker command

This commit is contained in:
Weetile 2024-10-17 11:38:43 +01:00
parent 1235d87b8d
commit 62e934dd5e
2 changed files with 8 additions and 0 deletions

View File

@ -6,8 +6,16 @@ Created by Otto Helen-Goldring and heavily modified from [light-report-uia](http
## Usage
In the root directory, run the following command:
```bash
typst c --root . ./template/main.typ
```
Alternatively, use the following Docker command:
```bash
docker run --rm -v "$(pwd):/workspace" -w /workspace ghcr.io/typst/typst:latest c --root . ./template/main.typ
```
![image](https://github.com/user-attachments/assets/56876603-1145-4ecd-88b8-cc0ad4cb5dbe)

BIN
template/main.pdf Normal file

Binary file not shown.