Stream: docs

Topic: highlight text on any webpage


view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 25 2024 at 01:27):

I just learned about a new trick. Check this out: https://guides.dataverse.org/en/6.4/contributor/index.html#:~:text=We%20are%20open%20to%20contributions%20from%20everyone

It highlights the text.

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 25 2024 at 01:27):

Screenshot 2024-10-24 at 9.27.18 PM.png

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 25 2024 at 01:28):

It's called "text fragments": https://developer.mozilla.org/en-US/docs/Web/URI/Fragment/Text_fragments

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 25 2024 at 01:28):

https://web.dev/articles/text-fragments

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 25 2024 at 01:28):

https://stackoverflow.com/questions/62989058/how-does-text-in-url-works-to-highlight-text

view this post on Zulip Dieuwertje Bloemen (Oct 25 2024 at 15:07):

Hasn't that always been in the guides? I know it happens sometimes when you search, I believe. At least I at one point mistakenly copied a url with that. I'm not able to replicate it now though, so maybe it used to be there, or I'm doing it wrong :sweat_smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 25 2024 at 15:10):

Well, part of the point is that it's not specific to the guides. It should, in theory, work on any website.

view this post on Zulip Dieuwertje Bloemen (Oct 25 2024 at 15:14):

Ow, now I get it :woman_facepalming:


Last updated: Nov 01 2025 at 14:11 UTC