Replace manual regex parsing with proper Asciidoctor AST traversal for more
accurate and scalable document processing. Add dynamic parse level system
that correctly maps AsciiDoc hierarchy to Nostr events.
Key changes:
- New asciidoc_ast_parser.ts using Asciidoctor's native document structure
- PublicationTree factory for seamless integration with existing architecture
- Fixed level mapping: Asciidoctor levels 1-5 → app levels 2-6
- Dynamic parse level generation (2-6) with proper event count progression
- Responsive editor height using viewport units for adaptive screen sizing
- Enhanced preview with hierarchical visualization and event boundaries
Event count progression now works correctly:
- Level 2: 3 events → Level 6: 20+ events
- Full reactivity when changing parse levels
- Proper content type detection (Article vs Notes vs None)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>