feat(glossy): adds noref|noindex modifier

Per suggestion in [#24](https://github.com/swaits/typst-collection/issues/24)
This commit is contained in:
swaits committed 2025-01-25 15:46:16 -07:00
1 parent ee570f7487
commit a903bf0fc8
3 files changed
+43 -9

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

+26
View File
@@ -0,0 +1,26 @@
#import "/lib.typ": *
// Our test glossary
#show: init-glossary.with((
Normal: "this is a normal term",
NoRef: "this term is noref'd",
NoIndex: "this term is noindex'd",
NoRefNoIndex: "this term is noref'd and noindex'd",
))
// Configure styling
#set page(margin: 1em)
#set page(width: 3.5in)
#set page(height: auto)
#set text(size: 10pt)
@Normal
@NoRef:noref
@NoIndex:noindex
@NoRefNoIndex:noref:noindex
#glossary()