September 8, 2026
MarkCharm natively supports Mermaid diagrams. They are rendered automatically — no plugins required.
graph TD
A[Start] --> B{Is it valid?}
B -->|Yes| C[Process]
B -->|No| D[Reject]
C --> E[Store]
E --> F[End]
D --> F
sequenceDiagram
participant U as User
participant C as Compiler
participant B as Backend
U->>C: Submit .mc file
C->>C: Parse AST
C->>B: Send AST
B->>B: Render HTML
B-->>U: Return output
pie title Document Composition
"Text" : 45
"Tables" : 20
"Figures" : 15
"Code" : 10
"Math" : 10
classDiagram
class Compiler {
+compile(input, output)
+validate(input)
}
class Frontend {
+parse(source)
+build_ast()
}
class Backend {
+export(ast, format)
}
Compiler --> Frontend
Compiler --> Backend