Term
Hextra glossary term shortcode with tooltip definitions.
1 minute read
Wraps a glossary term in an <abbr> tooltip. Hover over the highlighted terms below to see their definitions. Definitions are sourced from data/<lang>/termbase.yaml.
{{< hextra/term "API" >}}
Parameters:
| Parameter | Description | Default |
|---|---|---|
entry | Glossary abbreviation or full term (named or positional) | (required) |
To use this shortcode, create a termbase data file at data/en/termbase.yaml:
- abbr: API
term: Application Programming Interface
definition: A set of protocols for building software.
Examples:
Hugo is an SSG that can be controlled via its CLI . Configuration is written in YAML and sites are commonly served through a CDN . Most projects use a CI/CD pipeline to deploy changes automatically. The theme exposes a rich API of shortcodes and partials.