AshTypst.Resource.Template (ash_typst v0.3.0)

Copy Markdown View Source

Struct and schema for the template entity in the typst DSL section.

A template defines the Typst source to compile, either as an inline markup string or as a source file path relative to the configured root directory. Templates can also declare static sys.inputs key/value pairs.

The ~TYPST sigil is auto-imported inside template blocks, so you can use it directly for inline markup without any manual imports.

For the full DSL reference, see AshTypst.Resource.typst.template.