Export and _enhance_, takes Notion's export and makes it just a bit more usable
MIT License
Takes a Notion.so export .zip and enhances it by:
!index.md
instead so they sort to the top.TODO:
Supports Python 3.6+
Settings > [Workspace] Settings > Export Content > Export all workspace content
"Markdown & CSV"
pip install notion_export_enhancer
python -m notion_export_enhancer [token_v2] [path_to_zip]
token_v2
is your Notion.so token, which can be obtained by inspecting your browser cookies on a logged-in (non-guest) session on Notion.soThere are also some configuration options:
--output-path
: Optionally set an output path, otherwise uses the current working directory--remove-title
: Removes the title that Notion adds. H1s at the top of every file (default false)--rewrite-paths
: Rewrite the paths in the Markdown files themselves to match file renaming (default true)See CONTRIBUTING.md