Expand description
Re-export of the typst crate.
Re-exports§
- pub use typst::syntax;
Modules§
- diag
- Diagnostics.
- foundations
- Foundational types and functions.
- prelude
- The prelude of the Typst module.
Structs§
- Bytes
- A sequence of bytes.
- LazyHash 
- A wrapper type with lazily-computed hash.
- TypstAbs 
- An absolute length.
- TypstDict 
- A map from string keys to values.
- TypstFile Id 
- Although this is not good to expose this, we make an alias here to let it as a part of typst-ts. Identifies a file in a project or package.
- TypstFont 
- An OpenType font.
- TypstHtml Document 
- An HTML document.
- TypstPaged Document 
- A finished document with metadata and page frames.
Enums§
- TypstDatetime 
- Represents a date, a time, or a combination of both.
- TypstDocument 
- The enum of all well-known Typst documents.
Traits§
- TypstDocument Trait 
- A document is what results from compilation.
- TypstWorld 
- The environment in which typesetting occurs.