md2word-cn

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "md2word-cn" with this command: npx skills add andyrong/md2word-cn

md2word-cn

专为中文文档设计的 Markdown 转 Word 转换器。

快速开始

# 安装依赖
pip3 install python-docx

# 转换文件
python3 <skill>/scripts/md2word.py <输入.md> <输出.docx>

支持的 Markdown 语法

语法效果
# 一级标题居中标题,22pt,加粗
## 二级标题16pt,加粗
### 三级标题14pt,加粗
#### 四级标题12pt,加粗
**加粗**加粗
*斜体*斜体
~~删除线~~删除线
`代码`行内代码
```代码块```代码块
[链接](url)链接
1. 有序列表有序列表(手动编号,避免重复)
- 无序列表无序列表
> 引用引用
---水平分割线

字体格式

  • 正文:仿宋 12pt
  • 一级标题:仿宋 22pt,居中加粗
  • 二级标题:仿宋 16pt 加粗
  • 三级标题:仿宋 14pt 加粗
  • 四级标题:仿宋 12pt 加粗

使用示例

# 转换周报
python3 ~/.agents/skills/md2word-cn/scripts/md2word.py weekly_report.md weekly_report.docx

# 转换报告
python3 ~/.agents/skills/md2word-cn/scripts/md2word.py report.md report.docx

脚本

  • scripts/md2word.py - 主转换脚本

注意事项

  • 有序列表使用手动编号,避免 Word 自动编号导致的重复
  • 代码块样式为灰色背景
  • 链接自动添加下划线

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Xiaohongshu

Use when the user wants to write, analyze, or improve Xiaohongshu (小红书) content — drafting notes, coaching writing skills, diagnosing AI-speak or Jarvis-trap...

Registry SourceRecently Updated
General

Openclaw Nextcloud

Manage Notes, Tasks, Calendar, Files, and Contacts in your Nextcloud instance via CalDAV, WebDAV, and Notes API. Use for creating notes, managing todos and c...

Registry SourceRecently Updated
General

Twenty CRM

Twenty CRM API integration with managed authentication. Manage companies, people, opportunities, notes, and tasks. Use this skill when users want to interact...

Registry SourceRecently Updated
General

Vercel

Vercel API integration with managed OAuth. Manage projects, deployments, domains, teams, and environment variables. Use this skill when users want to interac...

Registry SourceRecently Updated