Released:
Export notion page to markdown.
Notion can import your Evernote account, or can import individual text, markdown, Word, Excel, and CSV files. Notion can export any individual page as PDF, Markdown text, or HTML, or export databases as CSV. Enterprise plan required for full account export. See Notion Import Guide for more details. I think Notion’s mix of markdown syntax support, slash commands, and WYSIWYG makes for a great writing experience. I strongly recommend organizing all your notes in a single database with appropriate tags, such as meeting, presentation, tc, and question. Jan 17, 2021 The benefit here is that Markdown text can be pasted just about anywhere and it will retain its formatting. This is useful when moving bodies of text between different pages in a Notion Workspace or importing text from elsewhere. Supported Markdown Schema in Notion.
Project description
This is Notion Markdown Exporter using
notion-py
notion2md will export your notion.so page to markdown formatted file.
Updates v1.2.2.1
Supports Inline Math Code in the
text block
,bulleted list
, andnumbered list
. It will Be denoted as$$<math code>$$
Supports Call
export_cli()
withtoken_v2
,url
, andbmode
Features
[New] Token_v2 will be saved after using the exporter, and don't have to enter it next time
Converts almost every block in the notion's page to Markdown
Downloads images and files in notion's page
Exports Nested Pages!
Create Front Matters for supporting CMS (Title, Created Date, Tags)
Add 'Created' and 'Tags' properties in your page. Then exporter will put them in the md file's front matter.
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
Usage in Terminal
In your Bash/Zsh terminal,
This will make <date-page-title>.md
file in your directory/notion_output
folder.
Usage in Python
Output Structure.
The structure of the output looks like this path.
- in
subpage/
, there will beimage/
,download/
, andsubpage/
folders if there are sub components insub 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
Release historyRelease notifications | RSS feed
1.2.3.1
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
0.1.7.5
0.1.7.4
Notion Productivity App
0.1.7.3
0.1.7.2
0.1.7.1
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
Notion Markdown Mermaid
0.1.1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size notion2md-1.2.3.1-py3-none-any.whl (7.6 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Hashes for notion2md-1.2.3.1-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 6aaebbfbc1ca5aa76a28dc8dc0d4f167450d98d30295bddd007418de9597275a |
MD5 | a390c3f49f977d81759a0f4a243eac2f |
BLAKE2-256 | 51dc6e266361f32e26ec5f35dc9bc5a0b95cd1a7e3fc2b1ceed7727ccc797346 |