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:
Jarvis committed 2025-08-29 22:45:07 +02:00
1 parent c31550920d
commit a4a13e4aeb
6 files changed
+1647 -6

No files matched your search

+13
View File
@@ -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';