Skip to content

Investigate Notion's page markdown API #580

@madebyisaacr

Description

@madebyisaacr

Notion has an API to get a page's content as markdown: https://developers.notion.com/reference/retrieve-page-markdown

This could enable the plugin to add support for importing nested blocks without requiring extra API calls, because the blocks API that the Notion plugin currently uses requires an extra fetch to get nested blocks.

Currently only children of table blocks are fetched and others are ignored. If the markdown API accurately converts tables to markdown, it would make it possible to eliminate one API call per table block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions