Notion Markdown Exporter with Python Cli
Project description
About Notion2Md
- Notion Markdown Exporter using official notion api by notion-sdk-py
API Key(Token)
-
Before getting started, create an integration and find the token. → Learn more about authorization.
-
Then save your api key(token) as your os environment variable
$ export NOTION_TOKEN="{your integration token key}"
Install
$ pip install notion2md
Useage: Shell Command
notion2md -n post -p ~/MyBlog/content/posts -u https://notion.so/...
- This command will generate "post.md" in your '~/MyBlog/content/posts' directory
To-do
- Page Exporter
- Database Exporter
- export file object(image and files)
- export child page
Contribution
Pull requests are welcome.
- folk this repo into yours
- make changes and push to your repo
- send pull request from your develop branch to this develop branch
This is only way to give pull request to this repo. Thank you
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
notion2md-2.3.0.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for notion2md-2.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6fd9e158242d6eeed10628ce00eef8046dabf5473b58c9e012494c44fede351 |
|
MD5 | 2b04a52bcdc845b3e08113427082dba4 |
|
BLAKE2b-256 | 8a56af25ea8c2eee860146ecb94942491d3ab975e94665685296a4ca06d72eb4 |