Back to list
duc01226

markdown-to-docx

by duc01226

2🍴 1📅 Jan 24, 2026

SKILL.md


name: markdown-to-docx description: Convert markdown files to Microsoft Word (.docx) with custom styling. Use when generating Word documents from markdown, creating editable documentation, or exporting reports for Microsoft Office.

markdown-to-docx

Convert markdown files to Microsoft Word (.docx) documents.

Installation Required

cd .claude/skills/markdown-to-docx
npm install

Dependencies: markdown-docx (uses docx internally)

Quick Start

# Basic conversion
node .claude/skills/markdown-to-docx/scripts/convert.cjs \
  --file ./README.md

# Custom output path
node .claude/skills/markdown-to-docx/scripts/convert.cjs \
  --file ./doc.md \
  --output ./output/doc.docx

CLI Options

OptionRequiredDescription
--file <path>YesInput markdown file
--output <path>NoOutput DOCX path (default: input name + .docx)

Output Format (JSON)

{
  "success": true,
  "input": "/path/to/input.md",
  "output": "/path/to/output.docx",
  "wordCount": 1523
}

Supported Markdown Elements

  • Headings (H1-H6)
  • Paragraphs and emphasis (bold, italic)
  • Ordered and unordered lists
  • Code blocks
  • Tables (GFM style)
  • Links and images (local + URL)
  • Blockquotes

Default Styling

Uses markdown-docx default styling:

  • Standard Word fonts
  • Professional formatting
  • Letter/A4 page size

Troubleshooting

Dependencies not found: Run npm install in skill directory Image not loading: Ensure path is correct; URL images require network access (10s timeout)

Task Planning Notes

  • Always plan and break many small todo tasks
  • Always add a final review todo task to review the works done at the end to find any fix or enhancement needed

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon