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 details)
Built Distribution
File details
Details for the file notiontomd-0.2.0.tar.gz
.
File metadata
- Download URL: notiontomd-0.2.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957611378441367b902dcf23b74c68e9a409782a042b3795f496bd50b0dc24b0 |
|
MD5 | b582294719039ae412ea30a1c932a16c |
|
BLAKE2b-256 | ab9707986a21ce868e4cd27faeddfe91037cf578eb2e2829ba9e663a6b796da9 |
File details
Details for the file notiontomd-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: notiontomd-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf16680bdb44c9d3321b4f37e1f4b1a97aa241a11063b3437c3a82dd42388af3 |
|
MD5 | 04c9ca2db7850385e9e8c33978d13046 |
|
BLAKE2b-256 | a174b82a852ea26bb25460bf252bea166c92d7a964c775190a93ebdb5d64cef9 |