# Markdown to Word Converter - Standalone

This is a standalone executable that requires no Python installation.

## Prerequisites

**Required:**
- Pandoc must be installed and in your system PATH
  Download from: https://pandoc.org/installing.html

**Optional (for mermaid diagrams):**
- Node.js and mermaid-cli
  ```
  npm install -g @mermaid-js/mermaid-cli
  ```

## Usage

### Basic Conversion
```
md-to-docx-converter.exe input.md
```

### Specify Output File
```
md-to-docx-converter.exe input.md output.docx
```

### Custom Paragraph Spacing
```
md-to-docx-converter.exe input.md output.docx 8
```

### Save Mermaid Diagrams
```
md-to-docx-converter.exe input.md --save-images
```

### Configure Mermaid Quality
```
md-to-docx-converter.exe input.md --mermaid-width 3000 --mermaid-scale 3
```

## Features

✅ Professional table formatting with autofit and row banding
✅ Automatic code block detection and formatting
✅ Metadata fields with proper spacing
✅ Mermaid diagram to image conversion
✅ High-quality output (2400px @ 2x scale)
✅ No TOC field warnings

## Template File

The FORMATTED-BY-USER.docx template must be in the same directory as
the executable for proper table styling.

## Support

For issues or questions, see: https://github.com/anthropics/claude-code
