A modern mark.js replacement: zero-DOM-mutation text highlighting via the CSS Custom Highlight API. ~2 kB, no dependencies.
javascript search typescript browser frontend highlighting web-api highlight text-highlighting framework-agnostic find-in-page zero-dependencies css-custom-highlight-api custom-highlight-api
-
Updated
Sep 29, 2026 - TypeScript