aboutsummaryrefslogtreecommitdiff
path: root/typst/README.md
blob: 6e2530fd47cb28b0438c151ea220fa00af4db35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# typst library

This folder contains a Rust library used to compile typdown's typst components.
We cannot write it in Zig, because there are no existing C bindings for typst.

## Build example

```shell
$ cargo build
$ gcc example.c -o example -ltypdown_typst -L./target/debug
$ LD_LIBRARY_PATH=./target/debug ./example
```