How songkg7/o2 works
Main Components Identification
The system should be represented with these key components:
a) Core Components:
• Converter System (src/core/)
• Platform-Specific Converters (src/jekyll/, src/docusaurus/)
• Individual Conversion Handlers (various *Converter.ts files)
b) External Integration:
• Obsidian API Interface
• Output Platforms (Jekyll, Docusaurus)
Top Level (User Interface):
• Obsidian Plugin Interface
Middle Level (Core Processing):
• ConverterChain
• Individual Converters
Bottom Level (Platform Specific):
• Jekyll Implementation
• Docusaurus Implementation
Component Relationships
a) Data Flow:
• Input: Obsidian Markdown → Converter Chain
• Processing: Converter Chain → Individual Converters
• Output: Platform-Specific Converters → Converted Markdown
b) Dependencies:
• How ConverterChain orchestrates individual converters
• Platform-specific settings integration
Specific Implementation Details
Key architectural elements:
Converter Chain:
• WikiLinkConverter
• CalloutConverter
• EmbedsConverter
• FootnotesConverter
• FrontMatterConverter
• ResourceLinkConverter
• etc.
Platform Handlers:
• Jekyll/Chirpy
• Docusaurus
Important Notes
• File system interaction (ready → archive folder movement)
• Configuration points (settings.ts integration)
• Validation checkpoints
• Test coverage scope