Expand description
Small wrapper around Typst that makes it easier to use it as a templating engine.
See the repository README for usage examples.
Inspired by https://github.com/tfachmann/typst-as-library/blob/main/src/lib.rs
Modules§
- cached_
file_ resolver - Caching wrapper for file resolvers.
- conversions
- Type conversion traits for Typst types.
- file_
resolver - File resolution for Typst sources and binaries.
Structs§
- Typst
Engine - Main entry point for compiling Typst documents.
- Typst
Template Collection - Type state indicating no main file is set.
- Typst
Template Engine Builder - Builder for constructing a
TypstEngine. - Typst
Template Main File - Type state indicating a main file has been set.
Enums§
- Font
Enum - Wrapper for different font types.
- Typst
AsLib Error - Errors that can occur when using typst-as-lib.