highlighter.js

Highlighter.js is a tiny (pure javascript) library to allow you to navigate, select and highlight DOM elements.

domnavigatebrowsehighlighthighlighterjavascriptselectorunderlineelements

https://720kb.github.io/highlighter.js/