# `AshTypst.Resource.Template`
[🔗](https://github.com/frankdugan3/ash_typst/blob/v0.4.0/lib/ash_typst/resource/template.ex#L1)

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 `d:AshTypst.Resource.typst.template`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
