content_convert
Convert markdown to Notion block JSON or Notion blocks to markdown. Use for preview and validation of content formatting.
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 |
|---|---|---|---|
| direction | Yes | Conversion direction | |
| content | Yes | Content to convert (string or array/JSON string) |