aboutsummaryrefslogtreecommitdiff
path: root/docs/templates.md
diff options
context:
space:
mode:
authorpraschke <stel@comfy.monster>2023-10-17 21:52:31 +0100
committerpraschke <stel@comfy.monster>2023-10-17 21:52:31 +0100
commit376a1b096874e601296321fa6307836e2736a05c (patch)
tree5ef7fa6f35f90de6aec2ed5e8091ab28fdba30f8 /docs/templates.md
parentae91e2442d7b3746c633871ff956a8addd7046b5 (diff)
fix: formatGlossary
Diffstat (limited to 'docs/templates.md')
-rw-r--r--docs/templates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/templates.md b/docs/templates.md
index bf5bd897..ce1e8d7e 100644
--- a/docs/templates.md
+++ b/docs/templates.md
@@ -657,7 +657,7 @@ structured-content generation.
<details>
<summary>Syntax:</summary>
- <code>{{#formatGlossary <i>dictionary</i>}}{{{definitionEntry}}}{{/pitchCategories}}</code><br>
+ <code>{{formatGlossary <i>dictionary</i> <i>definitionEntry</i>}}</code><br>
* _`dictionary`_ <br>
The dictionary that the glossary entry belongs to.
@@ -668,7 +668,7 @@ structured-content generation.
<summary>Example:</summary>
```handlebars
- {{#each glossary}}{{#formatGlossary ../dictionary}}{{{.}}}{{/formatGlossary}}{{/each}}
+ {{#each glossary}}{{formatGlossary ../dictionary .}}{{/each}}
```
Output: