- Type:
string - Default:
<em> - Scope:
settings,search
highlightPreTag parameter defines the HTML tag inserted before the matching text in highlighted attributes.
It works in combination with highlightPostTag,
which marks the end of the highlighted portion.
Usage
- Set an empty string (
"") to fallback to the default tag. - To turn off highlighting, remove the searchable attribute with the
attributesToHighlightparameter.
Examples
Set default tag
Current API clients
Current API clients
Legacy API clients
Legacy API clients
Change tag for the current search
Current API clients
Current API clients
Legacy API clients
Legacy API clients