Updated at:
to provide first support for Text Fragments in supporting browsers.
In other words, when you use the Copy As Markdown Link macro in a browser like Safari or Chrome, with some text selected in the browser, you will copy a URL with an affix enabling automatic highlighting of that text:
Not all web pages (or browsers) support Text Fragments, but those that do read any URL affix which starts with:
#:~:text=
(followed by a percent-encoded string of text which can be found somewhere on the linked page).
In the example above, "specifying a text snippet in the URL fragment
" is shown in a yellow highlight because the URL has the following affix:
#:~:text=specifying%20a%20text%20snippet%20in%20the%20URL%20fragment
There is some accessible and helpful discussion here: