Pipeline¶
The conversion pipeline is composed of independent stages, each implemented as a separate module.
| Stage | Module | Purpose |
|---|---|---|
| 1 | stage1_vault |
Obsidian vault operations (frontmatter, embeds, wikilinks) |
| 2 | stage2_preprocess |
Text preprocessing (dollar signs, callouts, URLs) |
| 3 | stage3_mermaid |
Mermaid diagram rendering |
| 3b | stage3_svg |
SVG to PDF/PNG conversion |
| 3c | stage3_image |
Non-SVG image format conversion to PNG |
| 4 | stage4_pandoc |
Final document generation (PDF/DOCX) |
Supporting modules:
latex_header— LaTeX header template rendering