A neat thing with Typst is that its compiler has a WebAssembly host (in which you can load plugins for use in your .typ files) I wrote a library to make building such plugins in Zig ⚡️pretty convenient: https://github.com/peterhellberg/typ