Post
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)...
Nice! I still worry about the out-of-sync thing, but I guess that's already a problem with CSS custom highlights.
0 reposts1 like
No replies yet.