Skip to content

Files

Latest commit

 

History

History
20 lines (18 loc) · 1.05 KB

5fc0fe93d032507fa3f1c0f5.md

File metadata and controls

20 lines (18 loc) · 1.05 KB
title date submitter number tags discussion status related
I want a permalink on each heading element
2020-11-27 13:26:43 UTC
Anonymous
5fc0fe93d032507fa3f1c0f5
html
urls
in-progress
title url type
Text Fragments
draft
title url type
Fragmentions
article

When you browse a web page, there should always be a permalink (e.g., a small chain icon) appearing near each heading element (h1h6) 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.