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

Improve anchor link behavior and TOC #282

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Improve anchor link behavior and TOC #282

merged 2 commits into from
Sep 9, 2024

Conversation

bedroesb
Copy link
Member

@bedroesb bedroesb commented Sep 9, 2024

This pull request will:

  • Let the TOC links scroll to the exact heading position, and not somewhere above
  • Make sure URLs with an anchor/hash, will scroll to that anchor, instead of being blocked by the TOC. (will close Anchors in urls not always working #274)
  • Update the url with the correct anchor/hash when a link in the TOC is clicked

@bedroesb bedroesb merged commit 4b6f6bc into main Sep 9, 2024
4 checks passed
@bedroesb bedroesb deleted the anchor-fix-2 branch September 9, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Anchors in urls not always working
1 participant