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

Direct page links #90

Open
NotGovernor opened this issue Jun 1, 2023 · 6 comments
Open

Direct page links #90

NotGovernor opened this issue Jun 1, 2023 · 6 comments
Labels
enhancement New feature or request on dev implemented on dev

Comments

@NotGovernor
Copy link

Is there a way to, instead of relative paths to internal links, we can do an absolute path from root?

EX:
Instead of the following to navigate up and then back down the folder structure:

[[.../.../Folder/File]]

We could just do this and it would work from wherever this link existed in the site hierarchy:

[[/Folder/File]]
@NotGovernor NotGovernor added the question Further information is requested label Jun 1, 2023
@secure-77
Copy link
Owner

I will take a look at this

@secure-77 secure-77 added To Do on the to do list in progress currently in development and removed To Do on the to do list labels Jan 10, 2024
@secure-77
Copy link
Owner

I spend some hours into this topic and tried to support both cases, even if they are mixed in one environment. Unfortunately there is one edge case which I can't manage.

If you have a file (via relative file name) in one folder it will look like this

![[Pasted image 20240111010137.png]]

The problem is, files located in the root folder will look like the same so I can't decide if i need to link to the same folder or the root folder.

The only option I see is to implement a setting (variable) to switch between relative and absolute file links.

@secure-77
Copy link
Owner

its implemented on the dev branch and will be included in the next release. There will be a new setting ABSOLUTE_PATHES

@secure-77 secure-77 added enhancement New feature or request on dev implemented on dev implemented / fixed and removed question Further information is requested in progress currently in development labels Jan 12, 2024
@secure-77
Copy link
Owner

fixed / implemented in 1.5.8

@secure-77
Copy link
Owner

there is a little bug in the 1.5.8, its already fixed in the dev version and will be in the next release

@NotGovernor
Copy link
Author

Thanks! Sorry for me not checking my notifications for so long. I see this has already been implimented, so awesome!

Had I not been tardy I would have responded as follows:

The problem is, files located in the root folder will look like the same so I can't decide if i need to link to the same folder or the root folder.

I would have it only look for such a file in the current local folder. If the user wants to reference something in the root they could just do a /image.png

Just my 2 cents. :) Thanks for your work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request on dev implemented on dev
Projects
None yet
Development

No branches or pull requests

2 participants