News for hackers. Stuff that matters.
Re:Borges: The Library of Babel [pdf] by perihelions on Wednesday October 06, 2021 @02:56PM (#28776848)
What's this syntax from? Is there a browser that implements it as a content-relative anchor? It looks convenient.

    #:~:text=
Re:Borges: The Library of Babel [pdf] by gus_massa on Wednesday October 06, 2021 @03:33PM (#28777295)
It's call "Text Fragments", and it was introduced to Chrome more than one year ago. https://github.com/WICG/scroll-to-text-fragment

I think it works in Chrome and Edge, but not in Firefox.

Re:Borges: The Library of Babel [pdf] by perihelions on Wednesday October 06, 2021 @06:02PM (#28779061)
Thanks!

Indeed, it seems to be just those for now:

https://caniuse.com/url-scroll-to-text-fragment

Re:Borges: The Library of Babel [pdf] by hangtwenty on Wednesday October 06, 2021 @03:48PM (#28777523)
In a Chrome browser on desktop, you can right click and "Copy Link to Highlighted Text". That's the context (hah, pun) where I know it from. It's really useful!