Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal link issue #19

Open
youcanmake opened this issue Jul 12, 2021 · 3 comments
Open

Internal link issue #19

youcanmake opened this issue Jul 12, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@youcanmake
Copy link

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.

@rounakdatta
Copy link

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.

@youcanmake
Copy link
Author

Thank you for such a quick response! Looking forward!

@JanakyMurthy
Copy link

@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 :)

@dragonman225 dragonman225 added the enhancement New feature or request label Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants