Document-Type Dispatching in Quarto Typst Extensions

Skip to main content 1 The Problem: Multiple Document Types When building a Quarto Typst extension, you may want to support multiple document types: reports, letters, CVs. Each type has distinct layouts, headers, and styling requirements. While Quarto extensions can contribute multiple variants of the same base format 1 , this approach requires either sharing metadata across all contributed…