Markdown to Word
doc_from_markdownConvert Markdown to a .docx Word file. Preserves headings, lists, tables, code blocks, and inline formatting, then returns the file path and block counts.
Instructions
Call this tool to turn markdown into a .docx. Returns the file path and a count of the blocks written, by type. Free and unlimited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| title | No | Document title; defaults to the first heading in the markdown | |
| markdown | Yes | The markdown source. ATX headings, paragraphs, bullet and numbered lists, GFM pipe tables and fenced code blocks as monospace are honoured, as are **bold**, *italic* and `code` inline | |
| out_path | No | Where to write the .docx. Defaults to the data directory | |
| overwrite | No | Replace out_path if a file is already there. Default false: an existing file is never overwritten |