Mirage: BGA styles

2.5.9 base.text.mark Marked text

Toggle example guides Toggle HTML markup

The <mark> element highlights a run of text due to its relevance in another context.

Example
You can use the mark tag to highlight text like this. New!
Markup: base/text/text-mark.twig
<span class="xml">You can use the mark tag to <span class="hljs-tag">&lt;<span class="hljs-name">mark</span>&gt;</span>highlight<span class="hljs-tag">&lt;/<span class="hljs-name">mark</span>&gt;</span> text like this.
<span class="hljs-tag">&lt;<span class="hljs-name">mark</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>&gt;</span>New!<span class="hljs-tag">&lt;/<span class="hljs-name">mark</span>&gt;</span>
</span>
Source: base/text/_text.scss, line 156