--- url: https://developer.youcan.shop/themes/filters/html/highlight.md --- # Highlight Wraps all instances of a specific string, within a given string, with an HTML `` tag with a `class` attribute of `highlight`. ## Example ```liquid {{ That is 'first product' | highlight: search.terms }} ``` ::: tip Output `This is the first product` :::