Markdown to Word
doc_from_markdownCall this tool to turn markdown into a .docx, returning the file and a count of blocks by type. Headings, lists, GFM tables and code fences are honoured. Empty markdown is refused, and so is overwriting without the flag.
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 |