create_from_markdown
Create a new Word document from Markdown content. Converts GitHub-Flavored Markdown to .docx, supporting headings, tables, lists, and more.
Instructions
Create a new .docx document from markdown content.
Supports full GitHub-Flavored Markdown: headings, bold/italic/strikethrough, links, images, bullet/numbered/nested lists, code blocks, blockquotes, tables, footnotes, and task lists. Smart typography (curly quotes, em/en dashes, ellipses) is applied automatically.
Provide exactly one of md_path or markdown. The document is automatically opened for editing under the given handle.
Args: output_path: Path for the new .docx file. md_path: Path to a .md file. Mutually exclusive with markdown. markdown: Raw markdown text. Mutually exclusive with md_path. template_path: Optional path to a .dotx template file. document_handle: Optional handle to store this document under.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | ||
| md_path | No | ||
| markdown | No | ||
| template_path | No | ||
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |