What problem does it solve?
Typst-based document templates integrated with Quarto extensions are difficult to organize and reuse across projects. This skill provides a structured approach to building Typst templates that work with Quarto, including multi-mode layouts and branding.
Core Features & Use Cases
- Two-file architecture with Typst partials (typst-template.typ and typst-show.typ) to separate formatting logic from data
- Multi-mode templates controlled by boolean flags (report, letterhead, certificate) for flexible document generation
- Page setup, headers/footers, backgrounds, and color theming driven by brand data for consistent styling
- Bridge between YAML front matter and Typst function parameters to enable seamless document rendering
- Accessibility considerations and WCAG-compliant typography utilities to ensure readable output
- Works well with quarto-extensions and other Quarto formats to support polished publication pipelines
Quick Start
Integrate the two Typst partials in your Quarto extension, then call the Typst format function with your document metadata to render a template.