Skip to main content

Module typst_emit

Module typst_emit 

Source
Expand description

Compose the top-level Typst document (main.typ) from a WispDoc and the operator’s partials.

The emitted document #imports the partials by filename, so it must be compiled with the template directory as the import root (the Typst backend arranges this). It builds the ctx dictionary the partials read, wires the running header/footer and page numbering, renders the cover and table of contents, then the converted markdown body.

Structs§

EmitOptions
Options that affect emission (subset of ExportOptions).

Functions§

emit
Render the full main.typ source.