Files
typst-collection/glossy/tests/hidden-terms/test.typ
T
swaits 38d33d3c8a 🚨 LOCKDOWN: Repository migration in progress
DO NOT CREATE NEW ISSUES OR PULL REQUESTS HERE

All packages are moving to: https://github.com/swaits-typst-packages
Existing issues and PRs are being migrated.

This is a temporary lockdown while migration is completed.
2025-10-26 21:22:33 -06:00

37 lines
809 B
Typst

#import "/lib.typ": *
#let myGlossary = (
html: (
short: "HTML",
long: "Hypertext Markup Language",
description: "A standard language for creating web pages",
group: "Web",
),
css: (
short: "CSS",
long: "Cascading Style Sheets",
description: "A language used for describing the presentation of a document",
group: "Web",
),
tps: (
short: "TPS",
long: "test procedure specification",
description: "A document on how to run all the test procedures",
),
unused: "Unused term, which shouldn't print in the glossary.",
)
#show: init-glossary.with(myGlossary)
#set page(height: auto, width: 6.5in, margin: 1em, numbering: "1")
= Hiding terms
Here's a hidden term: @html[]
Here's another hidden term: @css[]
And here's a shown term: @tps
#glossary()