https://github.com/Arsenal591/notion-export
Make it easy to export Notion pages into markdown format.
https://github.com/Arsenal591/notion-export
markdown notion python
Last synced: 5 months ago
JSON representation
Make it easy to export Notion pages into markdown format.
- Host: GitHub
- URL: https://github.com/Arsenal591/notion-export
- Owner: Arsenal591
- License: mit
- Created: 2020-08-09T14:43:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T15:14:36.000Z (over 5 years ago)
- Last Synced: 2024-11-25T16:39:12.373Z (about 1 year ago)
- Topics: markdown, notion, python
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Notion-export
A program that exports your notion page as Markdown.
- Support almost all Notion blocks, including database blocks.
- Support all inline elements, especially math equations.
- Multi-threading image downloading, very useful when connecting directly in CN mainland.
This project is now work-in-progress.
# Usage
```
python3 export_to_markdown.py --token_v2={{Your notion.so's token}} --page={{URL or id of your page.}}
```
The config file is `config.py`, edit it to modify configuration.
# Related Projects
[Notion-py](https://github.com/jamalex/notion-py): We rely on this package to access Notion block data. Since more features are added to Notion after the package released, we make some patches to the it to meet with the latest API (in `patch`) folder.
# TODO
- [ ] Ability to st the location where the markdown file will be saved.
- [ ] Fully support all markdown formats.
- [ ] Support table's formula row.