-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
md-to-word-swift needs a follow-up implementation pass because the package exists on main, but the tracked source/tests are missing. We need the direct Markdown → Word (.docx) converter restored as a proper Layer 3 package.
Requirements
- Implement
md-to-word-swiftas a direct Markdown AST → OOXML.docxconverter - Preserve headings, paragraphs, emphasis, links, lists, code blocks, tables, and frontmatter-derived document metadata
- Keep the package independent and compatible with the existing
MacDocCLIcommand surface
Layer 1 / dependency plan
swift-markdownfor Markdown AST parsingooxml-swiftfor.docxgenerationdoc-converter-swiftforDocumentConverter/StreamingOutputprotocol integration
Implementation shape
- Add a
DocumentConverterconformer for Markdown → Word output - Emit
.docxbytes through the streaming architecture instead of routing through another converter - Wire the package into
MacDocCLIwith the existing markdown → word command path
Test strategy
- Package-level unit tests for heading/list/table/link/code-block/frontmatter mapping
- Smoke test that generates a
.docxand validates key OOXML/document metadata round-trips - Keep package-local coverage above 80%
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request