Hacker News new | ask | show | jobs
by traes 1087 days ago
Wouldn't it make more sense to directly link to the line in the title?

https://github.com/WebKit/WebKit/blob/ab10a90523e06df54bbb8a...

2 comments

I believe permalinks are removed when submitting
(Note that this is not called a permalink but a fragment identifier https://www.w3.org/Addressing/URL/4_2_Fragments.html or, more memorably, the hash part of the URL https://developer.mozilla.org/en-US/docs/Web/API/URL/hash. Permalinks can be entirely different URLs, like a DOI link that is on a different domain and protocol altogether, but that will keep referring to this content https://en.wikipedia.org/wiki/Permalink)
Ah I was referring to the github specific terminology when sharing a link to a line inside a code file.
Thanks! I referred to them as anchors.
I think pedantically anchors are the markers in the document, and the URL fragments refer to the anchors to tell the browser to scroll there. If I'm wrong, someone will be along to correct me...
Ok, I've put it (back?) in there.
Hi dang. Sorry to ask you here but I wasn't sure how to get in touch with the staff. Have you had the chance to review the email I sent to hn@ycombinator.com? I know you're very busy so I don't mean to rush you. I just want to make sure the spam filter didn't get it first hahaha