Introduction¶
When writing technical documentation, teams often maintain two versions: Markdown for developers and Word for external sharing or approval workflows. Manually copying and pasting formats, tables, and code blocks between these formats is slow and prone to style loss. Merged cells, Mermaid diagrams, and Chinese paragraph layouts are particularly difficult to align between the two formats.
The following introduces the community Skill markdown转word (coordinate @user_27f88699/md2docx) on SkillHub. It delegates “Markdown ↔ Word” conversion to the current Agent for execution and provides capability descriptions specifically addressing table merging, diagrams, and Chinese typography.
What is this¶
markdown转word is a community Skill under the SkillHub category office-efficiency. It is published by user_27f88699, with the current page version marked as v2.0.0 and the source marked as community. The official description summarizes it as: Bidirectional conversion between Markdown and Word, supporting merged cells (rowspan/colspan), Mermaid diagram rendering, code highlighting, and optimized Chinese typography.
The page tags indicate requires_api_key=false, meaning usage after installation does not depend on an additional API Key. The statistics shown on the SkillHub display page (based on page scraping) are a rating of 100000, 8004 downloads, and 38 installations.
- Skill Display Page: https://www.skillhub.cn/skills/user_27f88699/md2docx
- Official Coordinate Link: https://api.skillhub.cn/user_27f88699/md2docx
Core Features¶
The following capabilities are derived from the official SkillHub description; details not appearing in the provided material are not expanded upon:
- Bidirectional Conversion: Converts Markdown to Word and Word to Markdown (the specific execution method is guided by the
SKILL.mdinside the Skill package; simply inform the Agent of the source file and target format after installation). - Table Merged Cells: Supports rowspan and colspan, suitable for requirement documents or test matrices with complex headers.
- Mermaid Diagrams: Can render Mermaid source code from documents into the Word output (reducing manual drawing compared to plain text pasting).
- Code Highlighting: Preserves or generates code blocks with highlighting styles, facilitating technical explanation documents.
- Chinese Typography Optimization: Processes common layout issues specific to Chinese documents to alleviate layout distortion after conversion between Word and Markdown.
Installation and Activation¶
SkillHub recommends installation via the skillhub CLI. It is mandatory to install the skill into the skills directory recognized by the current Agent; otherwise, it defaults to ./skills/ and may not be loaded.
1. Install skillhub CLI (if not already installed)¶
First, check if it is installed:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub installation documentation to perform a complete installation (CLI + Default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
For complete instructions, see: https://skillhub.cn/install/skillhub.md
2. Install this Skill¶
The installation prompt provided on the SkillHub page is: Follow the installation documentation above to install @user_27f88699/md2docx. The corresponding CLI form is to install the skill to the skills directory of the current environment (--dir is required):
skillhub install user_27f88699/md2docx --dir <skills directory>
Common Agent skills paths (excerpted from SkillHub installation documentation):
| Agent | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ |
After installation, restart or reload the Agent according to your client’s requirements to enable the new Skill.
Alternatively, you can send the following prompt to an AI to complete the installation according to the official documentation (consistent with the SkillHub page text):
Please install @user_27f88699/md2docx based on https://skillhub.cn/install/skillhub.md.
Typical Usage¶
The public page does not include a standalone command-line example script; the standard path is: Install Skill → Describe conversion direction and file path in the conversation → Agent completes conversion according to Skill instructions.
An actionable starting approach:
- Confirm that
markdown转wordappears in the current Agent’s skills directory. - Clearly state requirements in the conversation, for example: convert a specific
.mdto.docx, or extract.docxto Markdown; if the document contains merged cell tables, Mermaid code blocks, or long Chinese text, mention them in the prompt to align with the capability scope described in the Skill introduction. - Check if the table, diagrams, and code blocks in the output file meet expectations; complex layouts may still require manual fine-tuning.
When searching for skills, you can also use:
skillhub search md2docx
Use Cases and Notes¶
Who is it for
- People who frequently use Agents with Skills (like Cursor, Claude Code) for writing documents and need to deliver content between Markdown and Word.
- Technical specifications or proposal drafts with many tables requiring rowspan/colspan, or containing Mermaid diagrams and code blocks.
Notes
- This Skill is of community origin; behavior is subject to the instructions within the installation package. Pay attention to the version number on SkillHub before upgrading (currently 2.0.0).
- Installation must use
skillhub install ... --dir <skills directory>; incorrect paths will result in the Agent failing to load the skill. - Bidirectional conversion and complex layouts cannot be guaranteed to be perfectly consistent with manual formatting. It is recommended to retain a manual proofreading pass for formal external documents.
- No independent service SLA is provided in the materials; conversion is completed within the local Agent session. Large files or extremely complex layouts require self-verification of time consumption and results.
Conclusion¶
markdown转word consolidates bidirectional Markdown and Word conversion, table merging, Mermaid, code highlighting, and Chinese typography optimization into a single SkillHub skill. It is suitable for use with Agents used for daily document writing. Installation and directory configuration should follow the official SkillHub documentation.
- Skill Page: https://www.skillhub.cn/skills/user_27f88699/md2docx
- Installation Instructions: https://skillhub.cn/install/skillhub.md