Preview markdown as HTML
preview_markdownConverts markdown to HTML showing how it will look as a Word document. Returns the HTML as a string. For large files, POST to https://md2doc.com/mcp/upload and pass the returned id as markdown_upload_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | No | The markdown text to preview. Provide either this OR markdown_upload_id. | |
| markdown_upload_id | No | ID returned by POST /mcp/upload. Single-use, expires after 10 minutes. |