feat: implement typst template system with validation (task 6)
Adds comprehensive template management system for Typst PDF export: • TemplateManager: Built-in and custom template support with 4 embedded templates • TemplateSubstitution: Variable processing with Typst character escaping • TemplateValidator: Syntax validation, structure checks, and feature detection • Complete TypeScript type definitions for template system Supports Typst 0.11+ features and provides robust error handling. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
6 files changed
+1647
-6
No files matched your search
@@ -0,0 +1,13 @@
|
||||
// Template System Exports
|
||||
export { TemplateManager } from './template-manager';
|
||||
export { TemplateSubstitution } from './template-substitution';
|
||||
export { TemplateValidator } from './template-validator';
|
||||
|
||||
// Type Exports
|
||||
export type {
|
||||
Template,
|
||||
TemplateVariable,
|
||||
TemplateMetadata,
|
||||
TemplateValidationResult,
|
||||
SubstitutionContext
|
||||
} from './types';
|
||||
Reference in new issue
Block a user