igumnoff / shiva

Shiva library: Implementation in Rust of a parser and generator for documents of any type
https://docs.rs/shiva
Apache License 2.0
285 stars 15 forks source link

Issue19: Make typst pdf compilation/export #43

Closed Longlom closed 6 months ago

Longlom commented 6 months ago

Implemented typst pdf compilation.

Dragged few crates to satisfy World impl for typst::compile

One thing is not completed - image export.

Need to think how to properly implement image There's 2 approach. One is to use filepath and here we have to implement file method of impl World and if using bytes need to research how to add them into string In process_image as bytes