What problem does it solve? Writers need to deliver manuscripts to editors and publishers in standard formats like DOCX, PDF, and ePub, but converting rich editor content (ProseMirror JSON) while preserving formatting, footnotes, and chapter structure is error-prone and slow for long documents. ## Core Features & Use Cases - Multi-format export: Converts ProseMirror JSON documents to DOCX, PDF (via Puppeteer), ePub (split by chapters), Markdown, and TXT with metadata preservation. - Async processing for large documents: Queues exports above 50,000 words in a Bull job queue, returning a job ID and notifying via WebSocket when the file is ready. - DOCX import: Uses mammoth.js to extract content from external .docx files (e.g., Scrivener manuscripts) and converts it into valid ProseMirror JSON documents. - Use Case: A novelist exports an 80,000-word manuscript to DOCX with preserved bold, italics, and chapter headings in under 30 seconds via background processing. ## Quick Start Export the current manuscript to DOCX format, using the background job queue if the document exceeds the synchronous word limit.