Use new typst rendering in /test endpoint
This commit is contained in:
parent
8526566f39
commit
428b825e43
15 changed files with 128 additions and 14 deletions
9
showbits-thermal-printer/src/documents.rs
Normal file
9
showbits-thermal-printer/src/documents.rs
Normal 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"))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue