souvikinator / notion-to-md

Convert notion pages, block and list of blocks to markdown (supports nesting and custom parsing)
https://www.npmjs.com/package/notion-to-md
MIT License
1.08k stars 90 forks source link

Should a notion link parse to normal hyper link? #27

Closed 2nthony closed 2 years ago

2nthony commented 2 years ago

image

I am expect it to be notion.so/{pageid}

https://github.com/souvikinator/notion-to-md/blob/6608761a36879fb962adf3afccbdbd0da65b0dd1/src/notion-to-md.ts#L170-L178

Maybe in this case to handle, if the url starts with notion then transform to notion.so/{pageid}

souvikinator commented 2 years ago

Hey there, This sort of URL is used to open the notion page/DB in the notion application installed locally in your device. Can you be specific on how to reproduce this?

2nthony commented 2 years ago

I can't reproduce this. Close this for now 🤔