-
Notifications
You must be signed in to change notification settings - Fork 18
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
Anchor links within a page do not function correctly #76
Comments
I would love if this were to work as well. It would make table of contents much more useful in long articles (two-way navigation). And it would be very convenient to be able to link to specific sections of an article. I use the Automatic Table of Contents plugin to create tables of contents. These links work, but the headings themselves are missing the IDs necessary for navigating back to the ToC from the headings link anchor (since there is none). |
This could be done, the problem is that anchor links normally work using the hash part of the URL. In the case of this plugin, we're using that for the decrypt key. What could be done is use a query param like Either that or have clickable heading links only available for unencrypted pages. |
I see a release says this was fixed, but I just tested it and it isn't working. Was that fix to only support anchor tags on the same page? What I just tested was using them across different notes, not within the same note. So I just tested again, and I see it works for links in the format |
Yes, that's correct. I can look at inter-page anchor links too. |
In a note named
Note
with a heading like## Subsection
, a link formatted as[[Note#Subsection]]
creates a link only to the note itself instead of the named section.While a link like
[[#Subsection]]
navigates to the correct location within a note, it does not update the address bar of the browser to the correct anchor.The text was updated successfully, but these errors were encountered: