You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add links next to section headings for easy copying #46
The newer CSS spec documents have a handy feature where each section has a "§" next to it which is a fragment ID link to that same particular section. For example, the "§" next to "1.2. Values" links to https://drafts.csswg.org/mediaqueries/#values
It would be handy if the HTML spec document had a similar feature. Currently, I have to either open the heading in dev tools or go back to the TOC if I want to get a link to the (sub^N)section which I'm currently viewing.
Activity
Ritsyy commentedon Dec 18, 2015
I want to start working on this issue, this can be a good fix in the spec document, i think.
annevk commentedon Dec 18, 2015
@Ritsyy to fix this you'll need to change https://github.com/whatwg/wattsi which https://github.com/whatwg/html-build uses to generate https://html.spec.whatwg.org/ and https://html.spec.whatwg.org/multipage/. Other than @Hixie, who is not around much, nobody is very familiar with https://github.com/whatwg/wattsi but if you can figure out how to do this that would be great.
Ritsyy commentedon Dec 18, 2015
ok i am starting with it, hope i'll be able to figure it out what have to be done.
Append a self-link to each heading
Append a self-link to each heading
cvrebert commentedon Oct 31, 2016
🙌