We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0606c commit ce50827Copy full SHA for ce50827
packages/instantsearch-specs/content/widgets/highlight.md
@@ -2,7 +2,7 @@
2
title: Highlight
3
type: widget
4
html: |
5
- <span class="ais-Highlight"><span class="ais-Highlight-nonHighlighted">This is the</span> <em class="ais-Highlight-highlighted">highlighted text</em></span>
+ <span class="ais-Highlight"><span class="ais-Highlight-nonHighlighted">This is the</span> <mark class="ais-Highlight-highlighted">highlighted text</mark></span>
6
classes:
7
- name: .ais-Highlight
8
description: the root span of the widget
@@ -12,6 +12,6 @@ classes:
12
description: the normal text
13
options:
14
- name: highlightTag
15
- default: em
+ default: mark
16
description: DOM tag to use for the highlighted parts, in addition to the classes
17
---
0 commit comments