- synchronize with your notion.
- notion doc -> md ->
mind html
- custom mindmap in notion
- demo-page: https://notion-mind.vercel.app/markmap/820876eb920748f2abe4ba19cee6249e
- demo-notion: https://theone1006.notion.site/notion-mind-820876eb920748f2abe4ba19cee6249e
on server:
cp .env.example .env
# edit .env
yarn start
- select page to you integrations
- create your integrations
- ⭐️Tips: Automatically allow all children page
- copy page id
- example: https://www.notion.so/theone1006/notion-mind-820876eb920748f2abe4ba19cee6249e?pvs=4
- id is
820876eb920748f2abe4ba19cee6249e
- id is
- example: https://www.notion.so/theone1006/notion-mind-820876eb920748f2abe4ba19cee6249e?pvs=4
- create link
- mind page:
<you site url>/markmap/<page id>
- you can disable cache with query
?disableCache=true
- you can disable cache with query
- api:
<you site url>/api/page2md?pageId=<page id>
- mind page:
# notion Integration Secret
NOTION_TOKEN=xx
# cache dir
CACHE_FILE_DIR='cache/dir'
# file top division
CACHE_FILE_DIVISION="----##==========-----info-----==========##----"
# cache enable 1 hour
CACHE_DURATION=36000000
examples.md
----##==========-----info-----==========##----
expired: 1709084988674
timestamp: 1709048988674
----##==========-----info-----==========##----
# demo
- this is a demo page
run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
- https://www.notion.so/my-integrations
- create integrations