Markdown to Notion icon

Markdown to Notion

Convert markdown content to Notion page blocks with proper formula handling

Append to Page

AI-generated

Summary

Convert specified markdown content into Notion blocks and append them to an existing Notion page using its Page ID.

Inputs

  • Page ID (required) — The ID of the Notion page to which the markdown content will be appended. This must be a valid UUID found in the page URL.
  • Markdown Content (required) — The markdown text to convert and append as blocks to the Notion page.
  • Options — Optional settings including preserving inline math formulas as equation blocks, specifying the math formula delimiter (default '$'), supporting LaTeX-style inline formulas, and converting headings into toggle blocks for collapsible sections.

Output shape

a single JSON object per input item containing details about the append operation, including success status, the page ID, number of blocks added, chunks processed, any warnings, and API responses

The node splits large numbers of blocks into chunks of up to 100 for Notion API requests. It validates and normalizes blocks, and on errors attempts retries by bisecting the blocks. If headings are toggled, it processes content as a toggle structure recursively. Errors during processing emit specific messages, and the node can continue on fail if configured.

Examples

Example 1: Append markdown with default settings

Provide a valid Page ID and markdown content, optionally leaving Options defaulting to preserving math formulas and no toggle headings.

Example 2: Append markdown with toggle headings enabled

Set 'Toggle Headings' to true in Options to convert all headings to collapsible toggle blocks allowing sections to expand/collapse in Notion.

Links

Discussion