Built a markdown→docx converter with Claude Code in 3 days (first project)
github.com·9h·
Discuss: r/ClaudeAI
Flag this post

MDtoDOCX

A powerful command-line tool to convert Markdown files to Microsoft Word DOCX format with extensive formatting support.

Quick Start

Want to try it immediately?

# 1. Install dependencies
pip install python-docx markdown Pillow

# 2. Convert a file
python md_to_docx.py your-file.md

# 3. Done! You'll get your-file.docx

That’s it! The tool works without any complex setup. Just have Python installed and run the script.

Features

Basic Formatting

  • Headings (H1-H6)
  • Text formatting: bold, italic, inline code
  • Lists: ordered and unordered with nesting support
  • Code blocks with syntax highlighting
  • Links with URL display
  • Tables with styled headers
  • Image embedding (local files and URLs)

Advanced Features

  • Blockquotes

Similar Posts

Loading similar posts...