content_convert
Convert Markdown to Notion block JSON or back, letting you preview and validate structured content. Supports headings, lists, code, callouts, tables, equations, and more.
Instructions
Convert between markdown and Notion block JSON. Directions: markdown-to-blocks (input: markdown string), blocks-to-markdown (input: JSON array of Notion blocks or JSON string). Most tools (pages, blocks) handle markdown automatically -- use this only for preview/validation. Supported markdown: headings, lists, to-do, code blocks, blockquotes, dividers, callouts (> [!NOTE]), toggles (), tables, images, bookmarks, embeds, equations ($$), columns (:::columns), [toc], [breadcrumb]. Inline: bold, italic, code, strike, link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to convert (string or array/JSON string) | |
| direction | Yes | Conversion direction |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||