phuang07 / notiontomd

Convert notion page content to markdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notiontomd

Convert notion page content to markdown

Usage

Quickstart

pip install notiontomd

from notiontomd import NotionToMarkdown

token = os.environ['token']
page_id = os.environ['page_id']

print(NotionToMarkdown(token, page_id).parse())

Feature

Support block:

  • paragraph
  • numbered_list_item
  • bulleted_list_item
  • image
  • code
  • heading_1
  • heading_2
  • heading_3
  • bookmark
  • quote
  • to_do
  • unsupported (The current notion API does not support SimpleTable)
  • child_database
  • divider
  • callout

About

Convert notion page content to markdown

License:MIT License


Languages

Language:Python 99.0%Language:Makefile 1.0%