Templates
CMAsh Template — Typst Template Management
Manage your document templates — Typst source code with workspace scoping, versioning, and seamless integration into the compilation pipeline.
🎯 What It Does
CMAsh Template provides the template model and administration for Typst document sources. Templates are the visual blueprints that define how documents look — from page layout and typography to data placeholders and conditional rendering. They're managed in the admin panel and compiled by the Typst engine into production-ready output.
✨ Key Features
📝 Template Source Management
- Typst Source Storage — store template source code with full Typst language support (layout, typography, vector graphics, data access).
- Named Templates — organize templates with descriptive names and optional descriptions.
- Layout JSON — optional visual layout data for templates created with the Typst Designer.
🏢 Workspace Scoping
- Multi-Tenant Isolation — templates belong to specific workspaces, ensuring clean separation between business units or clients.
- Workspace-Level Browsing — filter and manage templates within their workspace context.
🔗 Document Binding
- Composable — templates are bound to documents alongside forms and brandkits, creating complete document definitions.
- Reusable — one template can be used in multiple documents with different forms or brandkits.
- Independent — template updates apply to all documents using it — change once, update everywhere.
🏷️ Tagging & Organization
- Tag Support — assign color-coded tags for categorization (e.g., "Business Cards", "Labels", "Marketing").
- Filtered Lists — find templates quickly by tag, name, or workspace in the admin panel.
🛠️ Admin Interface
- Filament Resource — full CRUD for templates with source code viewing and metadata management.
- Template Editor Integration — one-click access to the live template editor for source + preview editing.
- Designer Integration — templates with
layout_jsoncan be opened in the visual Typst Designer. - Role-Based Access — control who can create, edit, or delete templates.
💡 Use Cases
- Store and manage a library of business card, label, and brochure templates
- Organize templates by department, campaign, or product line with tags
- Maintain a single "Invoice" template used across multiple document configurations with different brandkits
- Version control template iterations by duplicating and tagging
CMAsh Template — Professional layouts, centrally managed, endlessly reusable.