md-to-word

Converts Markdown files to Word (.docx) with Chinese typesetting standards using Python-docx.

2|1|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/oyf518/md_to_word_skill --skill md-to-word
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: md-to-word
Source: https://github.com/oyf518/md_to_word_skill/tree/main
Command: npx skills add https://github.com/oyf518/md_to_word_skill --skill md-to-word

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) components.

What problem does it solve?

Converting Markdown content into professionally formatted Word documents, saving time and ensuring consistent typography for Chinese documents.

Core Features & Use Cases

  • Supports Markdown syntax (headings, bold, italics, strikethrough, lists, tables, links, code blocks)
  • Applies Chinese document standards (A4, margins, font stacks, line spacing, paragraph indentation)
  • Works as a Claude Code Skill or a standalone script for batch or single-file conversions
  • Example use: convert a technical proposal written in Markdown into a production-ready Word document for submission

Quick Start

To convert a Markdown file, run the converter on your Markdown file to generate a Word document with the same base name.

Frequently Asked Questions about md-to-word

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to a Word document with Chinese formatting?

To convert Markdown to a Word document with Chinese formatting, this tool parses Markdown syntax and applies Chinese typography standards like A4 page setup, specific font stacks, and paragraph indentation to output a polished .docx file.

Does python-docx support converting Markdown tables and code blocks to Word?

Yes, using python-docx, the conversion process supports rendering Markdown tables, code blocks, hyperlinks, lists, and headings directly into a structured Word document format.

Can I use this Markdown to Word converter as a standalone Python script?

Yes, you can run the Markdown to Word converter as a standalone Python script for single-file or batch processing, or integrate it directly as a Claude Code Skill.

What is the best way to generate a Chinese technical proposal from Markdown?

The best way to generate a Chinese technical proposal from Markdown is to use a converter that automatically applies Chinese document standards, including margins, line spacing, and UTF-8 support, to produce a production-ready .docx.

Do I need Python to convert Markdown files into .docx documents?

Yes, you need Python and the python-docx dependency installed to parse Markdown content, apply formatting styles, and generate the final Word document output.