@cloudgeek/md2docx
v0.0.1
Published
Markdown → DOCX converter (local, no server). Supports Mermaid/Graphviz/Vega/HTML/SVG rendering, math, and code highlighting.
Readme
md2docx
Markdown → DOCX converter (local, no server). Supports Mermaid/Graphviz/Vega/HTML/SVG rendering, math, and code highlighting.
Usage
npx @cloudgeek/md2docx input.md output.docxList themes:
npx @cloudgeek/md2docx --list-themesUse a theme:
npx @cloudgeek/md2docx input.md output.docx --theme academicDev (this repo)
npm run node:dev -- ./demo/test.mdPuppeteer / Chrome install
This package depends on puppeteer. On first install, Puppeteer downloads a compatible “Chrome for Testing” build (cached under your user directory). Set PUPPETEER_SKIP_DOWNLOAD=1 to skip download and use a system Chrome via PUPPETEER_EXECUTABLE_PATH.
Publish (maintainers)
npm publish