Set up typst wasm plugin

This commit is contained in:
Joscha 2025-03-01 00:26:38 +01:00
parent 49d6a2c022
commit 179d0653bb
10 changed files with 76 additions and 1 deletions

View file

@ -0,0 +1,8 @@
use wasm_minimal_protocol::*;
initiate_protocol!();
#[wasm_func]
pub fn debug_print(arg: &[u8]) -> Vec<u8> {
format!("{arg:?}").into_bytes()
}