Install
openclaw skills install joe-markdown-to-docxConvert Markdown files to fully formatted Word DOCX documents with support for tables, images, code blocks, and GitHub Flavored Markdown features.
openclaw skills install joe-markdown-to-docxConvert Markdown documents to professional Word DOCX format with full formatting preservation.
After installing this skill, run:
cd ~/.openclaw/workspace/skills/markdown-to-docx
npm install
All dependencies are pure JavaScript and work on Windows, macOS, and Linux.
Convert a Markdown file to DOCX:
node scripts/convert.js <input.md> [output.docx]
# Convert with auto-generated output name
node scripts/convert.js document.md
# Specify output filename
node scripts/convert.js document.md report.docx
# Convert from current directory
node scripts/convert.js ./README.md ./README.docx
**text** or __text__*text* or _text_Inline code: `code`[text](url)| Header 1 | Header 2 | Header 3 |
|:---------|:--------:|---------:|
| Left | Center | Right |
:--- (left), :---: (center), ---: (right)

```javascript
function hello() {
console.log("Hello!");
}
```
Generated DOCX files include:
Automatically installed via npm install:
docx: Word document generationunified, remark-parse, remark-gfm: Markdown parsingnode-fetch: Remote image downloading