ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 5/5

md2word-cn

将 Markdown 文档转换为 Word 文档,专为中文文档设计。支持完整的 Markdown 语法,字体统一使用仿宋。适用于周报、日报、报告等中文办公文档的转换。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/andyrong/md2word-cn
Or

What This Skill Does

md2word-cn is a specialized productivity tool designed to bridge the gap between lightweight Markdown drafting and professional Chinese document requirements. While most Markdown exporters produce generic fonts, this skill enforces a standard Chinese office formatting style, prioritizing the use of 'FangSong' (仿宋) font. It automatically parses Markdown elements—ranging from standard headings and lists to code blocks and hyperlinks—and maps them to specific Microsoft Word styles, ensuring that your output is ready for official reports, daily summaries, or formal documentation immediately upon export without needing manual adjustments in Word.

Installation

To integrate this tool into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/andyrong/md2word-cn Ensure you have the required dependency installed on your system by running pip3 install python-docx. The skill functions by executing a localized Python script that processes the input Markdown file and generates a corresponding .docx file directly in your working directory.

Use Cases

This skill is perfect for professionals and students working within Chinese-speaking environments where specific formatting standards are required. Ideal use cases include:

  1. Drafting weekly or monthly reports in a distraction-free Markdown editor and converting them to polished Word docs for management.
  2. Converting technical documentation into formal print-ready files.
  3. Creating academic summaries that adhere to simplified, standardized document structures.
  4. Standardizing project documentation across teams, ensuring everyone uses the same font and heading hierarchy.

Example Prompts

  1. "Convert my latest weekly report markdown file into a Word document named project_status.docx using the md2word-cn skill."
  2. "Please transform the document 'monthly_review.md' into a professional Word report using the required Chinese formatting standards."
  3. "Run the md2word-cn script on 'technical_manual.md' to export the file to 'doc/manual_final.docx'."

Tips & Limitations

To maximize the quality of your output, always ensure your Markdown headers are structured logically. Because the script uses manual numbering for lists to prevent Word's auto-list engine from creating duplicates or formatting errors, avoid complex nested list structures if possible. The tool is optimized for中文 (Chinese) text; while it handles Latin characters well, the font mapping is strictly 'FangSong' for body text. Ensure your environment has write permissions for the target output directory, as the skill performs file system operations to generate the .docx file.

Metadata

Author@andyrong
Stars4473
Views2
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-andyrong-md2word-cn": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#markdown#document-converter#productivity#office-automation#chinese-doc
Safety Score: 5/5

Flags: file-write, file-read, code-execution