Skip to main content

Notion Markdown Exporter with Python Cli

Project description

Notion2Md logo - an arrow pointing from "N" to "MD"


About Notion2Md

PyPI version

  • Notion Markdown Exporter using official notion api by notion-sdk-py

API Key(Token)

$ export NOTION_TOKEN="{your integration token key}"

Install

$ pip install notion2md

Useage: Shell Command

Terminal output of the notion2md -h 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

  • Download file object(image and files)
  • Table blocks
  • Page Exporter
  • Database Exporter
  • Child page
  • Column List and Column Blocks
  • Synced Block

Contribution

Please read Contribution Guide

License

MIT

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

notion2md-2.3.2.tar.gz (8.3 kB view hashes)

Uploaded source

Built Distribution

notion2md-2.3.2-py3-none-any.whl (9.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page