September 8, 2026
MarkCharm supports modular document composition using {$INCLUDE}. Split large documents into manageable chapters and assemble them at compile time.
This is the main file. The chapter below is included from a separate file:
This chapter lives in a separate file (chapter.mc) and is pulled into the main document via {$INCLUDE chapter.mc}.
The system follows a layered architecture:
| Layer | Responsibility |
|---|---|
| Frontend | Parsing and AST building |
| Engine | Transforms and plugins |
| Backend | HTML/PDF/DOCX export |
Key performance metrics:
The included chapter was seamlessly integrated into this document. All numbering, cross-references, and formatting work across file boundaries.