Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed May 2, 2024
1 parent 352cee5 commit 010aef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Highlight search term in a page. Vanilla JS, compatible with frontend frameworks

[![Highlight Search Term](./assets/screenshot.png)](https://marmelab.com/highlight-search-term/)

Does not modify the DOM. Relies on the browser's [CSS Custom Highlight API](https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API) ([not supported by Firefox yet](https://caniuse.com/?search=CSS.Highlights)).
This library does not modify the DOM. It relies on the browser's [CSS Custom Highlight API](https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API) ([not supported by Firefox yet](https://caniuse.com/?search=CSS.Highlights)). See the motivation and implementation challenges in the blog post "[Highlight Search Terms In Page Content](https://marmelab.com/blog/2024/04/23/highlight-search-query.html)".

**Note**: This is not a syntax highlighter library. It highlights text in a page based on a search term.

Expand Down

0 comments on commit 010aef6

Please sign in to comment.