sillsdev / docu-notion

Download Notion pages as markdown and image files, preserving hierarchy and enabling workflow properties. Works with Docusaurus.
MIT License
159 stars 30 forks source link

"Mention Page" links don't point to local pages #97

Closed hatton closed 5 months ago

hatton commented 9 months ago

Doing a "Link to Page" image gives you a new block (not inline). The markdown that docu-notion gets is a nice relative path: [How to Embed a Bloom Library Collection In Your Website](/embed-collection) and Docu-notion handles that well.

However, doing "Mention Page" image gives you a nice inline link: image But the markdown that docu-notion gets is as a full URL: See also: [How to Embed a Bloom Library Collection In Your Website](https://www.notion.so/7bf1d2edfdfa421891a60e4c0af37d53) and docu-notion doesn't currently realize that this is part of this site. Instead, it leaves that full URL intact so that if you click on it, you go to notion.so instead of the page on your site.

jamespostsil commented 7 months ago

I just encountered this myself.

Should we just avoid using the "Mention page" or "Mention block" feature, or is this something that could/should be fixed?

andrew-polk commented 5 months ago

Fixed in v0.16.1