Set up typst wasm plugin
This commit is contained in:
parent
49d6a2c022
commit
179d0653bb
10 changed files with 76 additions and 1 deletions
|
|
@ -5,5 +5,7 @@ pub use self::text::*;
|
|||
mod text;
|
||||
|
||||
fn typst_with_lib() -> Typst {
|
||||
Typst::new().with_file("/lib.typ", include_str!("documents/lib.typ"))
|
||||
Typst::new()
|
||||
.with_file("/lib.typ", include_str!("documents/lib.typ"))
|
||||
.with_file("/plugin.wasm", include_bytes!("documents/plugin.wasm"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue