Skip to content

Commit

Permalink
syntax fix (2)
Browse files Browse the repository at this point in the history
Signed-off-by: Rieks <RieksJ@users.noreply.github.com>
  • Loading branch information
RieksJ committed Feb 29, 2024
1 parent 4a5128f commit 5cbf466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tev2-glossaries-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The [MRGref](@) that is used is `{%` `hrg=":patterns" converter="## [{{#if gloss
:::info
The same [glossary](@) can be constructed from any other [MRG](@) that contains [entries](mrg-entries@) for each of these [mental models](@), simply by generating empty strings for [MRG entries](@) that do not have `termtype: pattern`. To do this, we use the following [MRGref](@):

`{%` `hrg=":patterns" converter="{{#ifValue termType equals="pattern"}}## [{{#if glossaryTerm}}{{glossaryTerm}}{{else}}{{capFirst term}}{{/if}}]({{localize navurl}})\n{{#if glossaryText}}{{glossaryText}}{{else}}no `glossaryText` was specified for this entry.{{/if}}\n{{/ifValue}}"` `%}`
`{%` `hrg=":patterns" converter="{{#ifValue termType equals='pattern'}}## [{{#if glossaryTerm}}{{glossaryTerm}}{{else}}{{capFirst term}}{{/if}}]({{localize navurl}})\n{{#if glossaryText}}{{glossaryText}}{{else}}no `glossaryText` was specified for this entry.{{/if}}\n{{/ifValue}}"` `%}`
:::

{% hrg=":patterns" converter="{{#ifValue termType equals='pattern'}}## [{{#if glossaryTerm}}{{glossaryTerm}}{{else}}{{capFirst term}}{{/if}}]({{localize navurl}})\n{{#if glossaryText}}{{glossaryText}}{{else}}no `glossaryText` was specified for this entry.{{/if}}\n{{/ifValue}}" %}
Expand Down

0 comments on commit 5cbf466

Please sign in to comment.