feat(glossy): add sort: true parameter to glossary()

This commit is contained in:
swaits committed 2024-12-21 22:27:07 -07:00
1 parent c008b5bd86
commit df889d8d72
5 files changed
+51 -9

No files matched your search

+3 -2
View File
@@ -186,8 +186,9 @@ Display the glossary using the `glossary()` function:
```typst
#glossary(
title: "Web Development Glossary", // Optional: defaults to Glossary
theme: my-theme, // Optionaal: defaults to theme-twocol
title: "Web Development Glossary", // Optional: defaults to Glossary theme:
my-theme, // Optional: defaults to theme-academic
sort: true, // Optional: whether or not to sort the glossary
ignore-case: false, // Optional: ignore case when sorting terms
groups: ("Web") // Optional: Filter to specific groups
)