Use new typst rendering in /test endpoint

This commit is contained in:
Joscha 2025-02-28 23:10:31 +01:00
parent 8526566f39
commit 428b825e43
15 changed files with 128 additions and 14 deletions

View file

@ -0,0 +1,9 @@
use showbits_typst::Typst;
pub use self::text::*;
mod text;
fn typst_with_lib() -> Typst {
Typst::new().with_file("/lib.typ", include_str!("documents/lib.typ"))
}