ID:WORK-010Status:pending
Build glossary Rune
Priority:mediumComplexity:unknown
glossary RuneCollection of terms with definitions, rendered as a navigable index. At build time, auto-links term occurrences across the site. Schema.org: DefinedTermSet.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
autoLink | Boolean | true | No | Enable site-wide auto-linking of terms |
groupBy | String | 'letter' | No | Grouping: letter (alphabetical), category, none |
{% concept %} runes → individual termsterm\n: definition) syntax → auto-converted to concept entriesgroupBy="category")Glossary<section>autoLink, groupByterms (dl or grouped divs), index (alphabetical jump links)runes/learning/src/tags/glossary.tsrunes/learning/src/config.tspackages/lumina/styles/runes/glossary.csspackages/lumina/index.cssDefinedTermSet@refrakt-md/learning package's PackagePipelineHooksrunes/learning/test/tags/glossary.test.tsThe auto-linking feature requires build pipeline integration beyond standard rune transforms. During the content build, the pipeline collects all glossary terms and rewrites matching text nodes across other pages into links. This should be implemented as a post-build pass via the @refrakt-md/learning package's postProcess() pipeline hook — similar to how toc collects headings, but cross-page.
concept rune (WORK-007) to exist first — glossary collects concept definitions