notablog
notablog copied to clipboard
Internal link issue
When I use @ to create an internal link to another page in Notion, the generated site doesn't seem to generate a link to a page in my site (xxx.github.io/xxxx) but a link to original Notion page (notion.so/xxxx). How should I solve this problem?
I've tried to put the linked page into the notablog database, but it doesn't seem to work.
This is a known issue I think, the NotionPage->HTML generation is not recursive/nested. That is, if you have pages within pages, those won't be converted. You have to do some workarounds and hard-codings to achive this at the moment.
I wanted to work on this issue, but was waiting for the official API release. Given it's now released, it's a good time to work on it now 😃 We have to check the module https://github.com/dragonman225/nast for this change.
Thank you for such a quick response! Looking forward!
@rounakdatta @dragonman225 I want this feature for my blog too. Basically I have sub-pages within a given page and I want them to be converted as well. Although I am not familiar with node js, I can try to look at this issue if I can get some pointers on how to get started with nast :)