typst
Installation
SKILL.md
Typst
This skill targets Typst 0.15+ by default. For Typst 0.14.2, use the
typst-0.14.2 repository tag for the previous skill snapshot, typst query
for CLI introspection, or --channel 0.14.2 with API search.
Compilation
typst compile document.typ # compile once → PDF
typst compile document.typ output.pdf # explicit output path
typst compile document.typ -f png # export as PNG image
typst compile src/main.typ --root . # set project root for /path imports
typst watch document.typ # recompile on change
typst eval --in document.typ 'query(heading).len()' # Typst 0.15+ introspection
For command options beyond this quick reference, see cli.md.