Skip to main content

Crate quillmark_typst

Crate quillmark_typst 

Source
Expand description

Typst backend for Quillmark: markdown + card-YAML data → PDF, SVG, PNG.

Richtext fields cross the seam as canonical content JSON and are lowered to Typst markup by emit at codegen time; no code re-parses markdown at render time. Plates read fields through the @local/quillmark-helper virtual package. Form-field widgets become AcroForm widgets on PDF output only; SVG and PNG render an invisible placeholder.

Modules§

workspace
The files Typst’s own tooling needs to compile a plate outside Quillmark.

Structs§

FontLibrary
The faces a host supplies, every one readable. Frozen at construction: a session sees the library as it was when the engine was built.
TypstBackend
Typst backend implementation for Quillmark, holding the host’s font library every session it opens reads.

Functions§

plate_file
The plate’s path from the quill root as a render reads it, or the refusal a render’s open raises for it: typst.plate_file where the quill declares it, else plate.typ.
typst_version
The release of the linked Typst compiler, which a plate reads as sys.version.