Convert Notion md files to Obsidian md files.
Project description
Notion2obsidian
Notion2obsidian is a utility and python package for convert Notion exported markdown files to Obsidian markdown files.
Important
For now notion2obsidian only supports the "no sub folder" structure. Make sure you use the exported options like this:
Installation
pip install notion2obsidian
Usage
notion2obsidian notion_folder -o dest -l
Since Notion will make tons of empty lines into the exported files, you can use -l to delete empty lines (but keep one before a heading line).
How it works
Markdown files
notion2obsidian won't change the folder structure, but the markdown file's name. Since every md file that Notion exported has an id in the name, notion2obsidian will remove the id, unless there are two md files use the smae name.
Note that some characters, aka #^[]|\/:, are inleagle for the markdown file name in Obsidian, so they will be remove in the name.
Attachments
Attachment files, like .png, .pdf and csv, will be all moved to the attachments folder without changing the name.
Links in markdown files
There two types of link will be change:
- Markdown files with relative path
- Attachment files with relative path Example:
[Room 1](Room%201%207a6f70896bfc4e5e976d588412b74370.md) -> [[Room 1]]
[dummy.pdf](dummy.pdf) -> [dummy.pdf](attachments/dummy.pdf)
[Untitled](Untitled%201.png) -> [Untitled](attachments/Untitled%201.png)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file notion2obsidian-0.1.1.tar.gz.
File metadata
- Download URL: notion2obsidian-0.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60002194d438f4e899be4503c3da37d5f025b0b33d44abf2f43128cae010068b
|
|
| MD5 |
68e5b395965840c738246164fcb16772
|
|
| BLAKE2b-256 |
42e3bfab62c361177b58dc263cc2cf6b612c3f3eeba4822697c1b0a04093b6f1
|
File details
Details for the file notion2obsidian-0.1.1-py3-none-any.whl.
File metadata
- Download URL: notion2obsidian-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d5a00da8253de97cfcad73a3a86ba21b2901f4c2305f2648c168e46ed83bf81
|
|
| MD5 |
3a996f6aa834b3b53c333774f7aa50ab
|
|
| BLAKE2b-256 |
a30753e9b75bf3b5da36cbce3831c083850356adac0b04411423be0eed8fb793
|