Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active May 30, 2022 15:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save probonopd/838db15e04b8730e1a8f3813b8427b3d to your computer and use it in GitHub Desktop.
Save probonopd/838db15e04b8730e1a8f3813b8427b3d to your computer and use it in GitHub Desktop.
@nuno-andre
Copy link

It's called Scroll-to-Text Fragment. The complete syntax is:

:~:text=[prefix-,]textStart[,textEnd][,-suffix]

         context  |-------match-----|  context

Currently it's only available in Chromium browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment