Converts Markdown files (.md, .markdown) to DOCX using the markdown-docx npm package. Supports single and batch conversions, automatically generates output filenames, and creates Microsoft Word documents from Markdown content.
Convert Markdown files to Microsoft Word DOCX format using the markdown-docx npm package. Supports single file and batch conversions with automatic output file naming.
Single file conversion:
python scripts/convert_md_to_docx.py -i document.md
This creates document.docx in the same directory.
Batch conversion:
python scripts/convert_md_to_docx.py -i file1.md file2.md file3.md
Each file is converted to DOCX in its original location.
Custom output location:
python scripts/convert_md_to_docx.py -i document.md -o output/mydoc.docx
Batch to specific directory:
python scripts/convert_md_to_docx.py -i *.md -o output_docs/
When a user requests markdown to DOCX conversion:
User: "Convert README.md to DOCX"
python scripts/convert_md_to_docx.py -i README.md
User: "Convert all my markdown files to Word documents"
python scripts/convert_md_to_docx.py -i *.md
User: "Convert notes.md to report.docx"
python scripts/convert_md_to_docx.py -i notes.md -o report.docx
User: "Convert all docs to DOCX and put them in the exports folder"
python scripts/convert_md_to_docx.py -i docs/*.md -o exports/
Location: scripts/convert_md_to_docx.py
Features:
Requirements:
The script handles common errors:
下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer