feat(glossy): add type-checking
- adds type-checking via the valkyrie package - fixes handling of groups parameter on #glossary() - new test for relevant changes
This commit is contained in:
9 files changed
+112
-10
No files matched your search
@@ -168,6 +168,19 @@ Display the glossary using the `glossary()` function:
|
||||
)
|
||||
```
|
||||
|
||||
Note that if you want to display terms without a group, you specify that with an
|
||||
empty string. For example, to show the empty group and then the _Web_ group:
|
||||
|
||||
```typst
|
||||
#glossary(groups: ("", "Web"))
|
||||
```
|
||||
|
||||
Or to just show the empty group (i.e. terms without a group):
|
||||
|
||||
```typst
|
||||
#glossary(groups: (""))
|
||||
```
|
||||
|
||||
### Customizing Term Display
|
||||
|
||||
Control how terms appear in the document by providing a custom `show-term` function:
|
||||
|
||||
Reference in new issue
Block a user