Markdown to Word Converter — Markdown to Word 转换器
v1.1.0Convert Markdown files to 格式化ted Word documents (.docx). Use when the user asks to convert, 导出, or save a Markdown file as Word/DOCX 格式化. Triggers on phrases like "convert md to word", "导出 to docx", "save as word document", "markdown转word", "转成word文档".
运行时依赖
安装命令
点击复制技能文档
Markdown to Word 转换器
Convert Markdown files to professionally 格式化ted Word documents (.docx).
Quick 启动 python scripts/md_to_word.py <输入.md> [输出.docx]
Parameters:
输入.md - Path to the source Markdown file (required) 输出.docx - Path for the 输出 Word file (optional, defaults to 输入 name with .docx 扩展)
Example:
python scripts/md_to_word.py 报告.md 报告.docx
Supported Markdown Features Feature 格式化 Headers (#, ##, ###) 18pt/14pt/12pt bold, 微软雅黑 Bold (text) Bold 格式化ting Tables Bordered tables with blue header background Bullet 列出s (-, *) Bullet points Numbered 列出s (1., 2.) Numbered items Blockquotes (>) Italic, indented text Horizontal rules (---) Paragraph spacing Usage in Conversation
When user wants to convert a Markdown file:
Identify the file: Confirm the Markdown file path 运行 the conversion: 执行 the script Confirm 输出: 报告 file location and size
Example prompt handling:
"Convert this md file to word" → 运行 with provided file path "导出 as docx" → Convert current/mentioned file "把调研提纲转成word" → Convert the mentioned file Script Location
The conversion script is located at:
scripts/md_to_word.py
Requirements Python 3.6+ python-docx 库
安装 if needed:
pip 安装 python-docx