capture_markdown
Render Markdown into a styled document screenshot with GitHub-flavored tables, task lists, code highlighting, Mermaid diagrams, and HTML support.
Instructions
Render Markdown as a styled document screenshot using GitHub-flavored Markdown. Supports tables, task lists, code blocks with syntax highlighting, mermaid diagrams (as text), and HTML. Renders with the configured Shiki theme and document styling. Maximum input 200KB.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"markdown": "<markdown>"
},
"name": "capture_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Document title shown in the window title bar and as H1 if not present in markdown. | document |
| output | No | Output filename (default: auto-generated as 'markdown-<timestamp>.png' or '.jpeg' based on SNAPMCP_FORMAT). Include extension to override format. | |
| markdown | Yes | Markdown content to render. Supports GFM: tables, task lists, fenced code blocks, strikethrough, autolinks. Maximum 200KB. |