Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Off question, buy how did you generate link like this? Seems really useful.


>Off question, buy how did you generate link like this?

I just manually created it using the following syntax:

https://wicg.github.io/scroll-to-text-fragment#syntax

It's a relatively new feature (April 2020) and it looks like only the Chrome-based browsers (i.e. MS Edge, Opera) currently support it:

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


Right click text in Chrome and select "Copy link to highlight"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: