Post
It depends what you mean by "riddling your content". If you add a range to the DOM, it's there, as part of your DOM. Sure, the elements panel doesn't show it, but it probably will at some point, for debugging CSS highlights.
0 reposts2 likes
Here’s a quick POC I threw together: codepen.io/bramus/full/... The Highlight Maps were created using codepen.io/bramus/full/... (which is powered by Prism)
codepen.ioSyntax highlighting code blocks with Highlight Maps and the Custom Highlight API (+ Polyfill)...