convert notion page content to markdown
Project description
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
- video (thanks for @phuang07)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
notiontomd-0.2.0.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for notiontomd-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf16680bdb44c9d3321b4f37e1f4b1a97aa241a11063b3437c3a82dd42388af3 |
|
MD5 | 04c9ca2db7850385e9e8c33978d13046 |
|
BLAKE2b-256 | a174b82a852ea26bb25460bf252bea166c92d7a964c775190a93ebdb5d64cef9 |