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

HTML Anchors on semver.org #27

Closed
thegcat opened this Issue Jan 24, 2011 · 4 comments

Comments

Projects
None yet
5 participants
@thegcat

thegcat commented Jan 24, 2011

Having HTML anchors on semver.org would make linking to specific parts of the page easier, those should be at least on the titles, having them on individual points would be nice too.

@GaryJones

This comment has been minimized.

Show comment
Hide comment
@GaryJones

GaryJones Aug 25, 2011

+1. What you're after is id attributes on key elements.

+1. What you're after is id attributes on key elements.

@kelvinst

This comment has been minimized.

Show comment
Hide comment
@kelvinst

kelvinst Sep 6, 2013

I'd like the idea, maybe I work on it when I get time.

kelvinst commented Sep 6, 2013

I'd like the idea, maybe I work on it when I get time.

@blobgo

This comment has been minimized.

Show comment
Hide comment

blobgo commented Aug 21, 2015

👍

@AndersDJohnson

This comment has been minimized.

Show comment
Hide comment
@AndersDJohnson

AndersDJohnson Dec 30, 2015

+1 Any chance of this? Harder to encourage & enforce the spec when we can't direct link to specific tenets.

+1 Any chance of this? Harder to encourage & enforce the spec when we can't direct link to specific tenets.

Haacked added a commit that referenced this issue Jan 20, 2016

Add hover anchor links for spec headers and sections
This adds anchors for each heading by changing the markdown renderer to
Kramdown. Unfortunately, Kramdown doesn't have an option to do the same
for list items. Instead, we do a tiny bit of JavaScript to add IDs to
each list item element in the specification section.

Then we use some JavaScript to insert a link with an embedded base64
background image that is displayed on hover for each element that has an
ID.

Fixes #27
Closes #128

@Haacked Haacked closed this in #129 Jan 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment