I want a permalink on each heading element #230
aarongustafson
started this conversation in
Wants
Replies: 1 comment
-
This use case is addressed by Scroll to Text Fragment. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you browse a web page, there should always be a permalink (e.g., a small chain icon) appearing near each heading element (
h1
–h6
) when you mouse-over them. This would enable you to share a direct link to that particular section. When clicking that permalink, the page URL should be directly changed to that DOM element using a dynamic fragment identifier (e.g., "BASE_URL#The-sub-title-2") and scroll the actual page content to make this particular header move to the top of the viewport.Well-formatted GitHub README files do this nicely.
See also: https://webwewant.fyi/wants/5fc0fe93d032507fa3f1c0f5/
Beta Was this translation helpful? Give feedback.
All reactions