doc(glossy): update docs on concise syntax

This commit is contained in:
swaits committed 2024-12-16 17:46:09 -07:00
1 parent 7f1d1d711a
commit d2e44f4131
2 files changed
+13 -2

No files matched your search

+4
View File
@@ -85,6 +85,10 @@ Each glossary entry supports the following fields:
- `plural` (optional): Override automatic pluralization of short form
- `longplural` (optional): Override automatic pluralization of long form
Note that if you just want an entry with `short` and `long`, you can use the
abbreviated syntax. In this case, they `key` is used as the short form, and its
value is used as the long form. See `WWW` as an example below.
You can also load glossary entries from a data file using #yaml(), #json(), or similar.
For example, the above glossary could be in this YAML file: