From 78f399521661c82e45e627bbbdc8ce4daa9e5207 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 29 Apr 2026 22:30:04 +0200 Subject: style(typst): move in lib folder --- lib/typst/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/typst/README.md (limited to 'lib/typst/README.md') diff --git a/lib/typst/README.md b/lib/typst/README.md new file mode 100644 index 0000000..6e2530f --- /dev/null +++ b/lib/typst/README.md @@ -0,0 +1,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 +``` -- cgit v1.2.3