Fix basic example

finchie
Oct 31, 2023, 4:31 PM
EENFIDOQSLMIHYREARFRGQAIWCGE2TPTLHGDKMS6BL3QICWK7DMAC

Dependencies

  • [2] GYTRFADR Support Typst subdirectories
  • [3] 2N3KOCP7 Create MVP Pandoc->Rust compiler

Change contents

  • edit in crates/typst_rust_gen/examples/basic.rs at line 1
    [3.2842][3.2843:2864]()
    use std::path::Path;
  • replacement in crates/typst_rust_gen/examples/basic.rs at line 4
    [3.2915][2.10704:10755]()
    dbg!(output_rust(Path::new("docs/test.typ")));
    [3.2915]
    [3.2971]
    let generated_code = output_rust(vec![String::from("docs/test.typ")]);
    dbg!(generated_code);