-
Notifications
You must be signed in to change notification settings - Fork 82
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
Allow link to other pages in table entry #12
base: master
Are you sure you want to change the base?
Conversation
I've just tested this some more and it doesn't work with caching, unfortunately. Other than that, it seems fine! |
@MihaiAnca13 I would like to try this fix locally on my system. Could you tell where one would typically expect to find the notablog source files? I installed notablog via |
Hi @JanakyMurthy. If you are using Linux: when you install notablog globally using npm, it creates a symlink in /usr/local/bin/notablog. If you use If you are using windows, please have a look here. Let me know if you need more help. |
@MihaiAnca13 Thanks, I was able to find where the notablog repo was. However I was not able to find a
I am assuming npm install does not copy the source files. Suppose I copy the |
@JanakyMurthy Here's how I did it:
Now, if you run notablog in your terminal, it should point to the repo and use the src files you have there without any need to recompile. |
@MihaiAnca13 , thank you. I got the symlinks updated. But
Reverting back to old symlinks somehow fixes this. Note: I have cloned this repo at |
@JanakyMurthy |
@dragonman225 any update on when this pull request will be merged? I am not able to modify the source code now as I have |
Hi, it's not likely to be merged since the codebase has changed too much. |
@dragonman225 Say Page 1 has a text that links to subpage 2. When I export it using notablog the url of subpage 2 is a notion url instead of a local url. I understand that it is too much to ask for this use case for an arbitrary subpage 2. But suppose subpage 2 is a valid blog post (Say it is in the table) - then how do we reference it? |
I am also wondering if this can be done for an arbitrary subpage 2? what are the complications that can arise? Suppose we have a function that can generate distinct local-urls for given notion-url, then can this be done too? |
I added a bit of code that checks and re-maps the properties of an entry if the title is actually a link to another page. I'm sure you can find a better way to access the 'title' and 'uri', but I have very basic knowledge of javascript and could only make it work. I hope this would help others as well! Please let me know if you need me to explain anything.