convert_markdown
Convert Markdown files to Word or PDF documents, optionally applying a .dotx template for consistent styling.
Instructions
Convert markdown to Word/PDF with optional .dotx template.
This tool converts markdown files to professional documents using python-docx. You can optionally provide a .dotx template file for consistent styling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | Base path for output (without extension) | |
| markdown_path | Yes | Path to input .md file | |
| output_format | No | Output format - "docx" (Word), "pdf", or "both" | docx |
| template_path | No | Optional path to .dotx template file for styling |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |