glossify-tooltip.html.twig in Glossify 8
Markup for inline tooltips.
Available variables:
- word: the text where the tooltips applies to.
- tip: the tooltip text.
1 theme call to glossify-tooltip.html.twig
- GlossifyBase::parseTooltipMatch in src/
GlossifyBase.php - Convert terms in text to links.
File
templates/glossify-tooltip.html.twigView source
- {#
- /**
- * @file
- * Markup for inline tooltips.
- *
- * Available variables:
- * - word: the text where the tooltips applies to.
- * - tip: the tooltip text.
- *
- *
- * @ingroup themeable
- */
- #}
- <abbr title="{{ tip }}" class="glossify-tooltip-tip" lang="{{ lang }}">{{ word }}</abbr>