All Projects → echo724 → Notion2md

echo724 / Notion2md

Licence: mit
Export notion page to markdown.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Notion2md

Vue Markdown Editor
A markdown editor built on Vue
Stars: ✭ 169 (-3.98%)
Mutual labels:  markdown
Yarle
Yarle - The ultimate converter of Evernote notes to Markdown
Stars: ✭ 170 (-3.41%)
Mutual labels:  markdown
Sheets
Store & retrieve your static content in plain text files
Stars: ✭ 175 (-0.57%)
Mutual labels:  markdown
Html2markdown
A library for converting HTML to markdown syntax in C#
Stars: ✭ 167 (-5.11%)
Mutual labels:  markdown
Swift Evolution
This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
Stars: ✭ 12,943 (+7253.98%)
Mutual labels:  markdown
Mininote
📔 A simple Markdown note-taking editor
Stars: ✭ 171 (-2.84%)
Mutual labels:  markdown
Gulp Markdown
Markdown to HTML
Stars: ✭ 167 (-5.11%)
Mutual labels:  markdown
Markdown Img Paste
一个可以快速粘贴剪贴板里的照片到markdown的插件,并且可以设置使用七牛存储照片。
Stars: ✭ 176 (+0%)
Mutual labels:  markdown
Wiki
Wiki.js | A modern and powerful wiki app built on Node.js
Stars: ✭ 14,985 (+8414.2%)
Mutual labels:  markdown
Slideshow
slideshow gems - write your slides / talks / presentations in plain text with markdown formatting conventions
Stars: ✭ 173 (-1.7%)
Mutual labels:  markdown
Qownnotes
QOwnNotes is a plain-text file notepad and todo-list manager with markdown support and Nextcloud / ownCloud integration.
Stars: ✭ 2,357 (+1239.2%)
Mutual labels:  markdown
Markdown
📖Clean & Modern MarkDown Generator, 🔌Offline Support and Easy Generation of Markdown ⚡️⚛️ https://github.com/JP1016/Markdown-Electron/releases
Stars: ✭ 170 (-3.41%)
Mutual labels:  markdown
Mandown
man-page inspired Markdown viewer
Stars: ✭ 173 (-1.7%)
Mutual labels:  markdown
Maid
Markdown driven task runner.
Stars: ✭ 1,999 (+1035.8%)
Mutual labels:  markdown
Sinn
a blog based on of react,webpack3,dva,redux,material-ui,fetch,generator,markdown,nodejs,koa2,mongoose,docker,shell,and async/await 基于react+koa2技术栈的个人开源博客系统
Stars: ✭ 175 (-0.57%)
Mutual labels:  markdown
Markdownify
The HTML to Markdown converter for PHP
Stars: ✭ 167 (-5.11%)
Mutual labels:  markdown
Dvc.org
🔗 DVC website and documentation
Stars: ✭ 171 (-2.84%)
Mutual labels:  markdown
Mota
🎡 A state management library
Stars: ✭ 177 (+0.57%)
Mutual labels:  markdown
Cli
A command line utility for Structurizr.
Stars: ✭ 173 (-1.7%)
Mutual labels:  markdown
How To Markdown
Learn how to start using Markdown
Stars: ✭ 173 (-1.7%)
Mutual labels:  markdown

Notion Markdown Exporter

PyPI version

  • This is Notion Markdown Exporter using notion-py

  • notion2md will export your notion.so page to markdown formatted file.

Note from notion2md developer

Notice

  • Saving images and files is not supported anymore(Maybe the notion's security rule had changed)

Requirements

  • token_v2: check the way to get Token_v2 in Notion-py Quickstart

Caution Do not share your Token_v2 with others. Others can access your notion page if the token is shared.

  • url: the link that you will export

Installation

pip install notion2md

Usage in Terminal

In your Bash/Zsh terminal,

$python -m notion2md
#Token_v2: <your token_v2 on notion.so>
#Notion Page Url: <your notion page to export>
# Choose you will export the notion page as blog post: [y/n]

This will make <date-page-title>.md file in your directory/notion_output folder.

Usage in Python

from notion2md import *

export_cli(token_v2=<Token_v2>,url=<Notion.so Page's url>,bmode=<0 or 1>)

# Without any parameters will call this prompts
# Token_v2: <your token_v2 on notion.so>
# Notion Page Url: <your notion page to export>
# Choose you will export the notion page as blog post: [y/n]

Output Structure.

The structure of the output looks like this path.

notion2md_output/
├── notion_token.json
└── <main-page-title>/
    ├── <main-page-title>.md
    ├── download/
    │   └── ...
    ├── image/
    │   └── img_1.png
    │   └── ...
    └── subpage/
        └── ...
  • in subpage/, there will be image/, download/, and subpage/ folders if there are sub components in sub page.

Todo

  • convert other block types to md. 

Change Log

Contribution

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].