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

Leads

Leads - command-line tool for everyday use

Registry SourceRecently Updated
General

Bmi Calculator

BMI计算器。BMI计算、理想体重、健康计划、体重追踪、儿童BMI、结果解读。BMI calculator with ideal weight, health plan. BMI、体重、健康。

Registry SourceRecently Updated
General

Blood

Blood — a fast health & wellness tool. Log anything, find it later, export when needed.

Registry SourceRecently Updated
General

Better Genshin Impact

📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 - UI A better genshin impact, c#, auto-play-game, automatic, g...

Registry SourceRecently Updated