18 lines
382 B
Rust
18 lines
382 B
Rust
use showbits_typst::Typst;
|
|
|
|
pub mod calendar;
|
|
pub mod cells;
|
|
pub mod chat;
|
|
pub mod egg;
|
|
pub mod image;
|
|
pub mod text;
|
|
pub mod tictactoe;
|
|
|
|
fn typst_with_lib() -> Typst {
|
|
Typst::new()
|
|
.with_file("/lib/main.typ", include_str!("documents/lib/main.typ"))
|
|
.with_file(
|
|
"/lib/plugin.wasm",
|
|
include_bytes!("documents/lib/plugin.wasm"),
|
|
)
|
|
}
|