diff options
author | praschke <stel@comfy.monster> | 2023-10-17 21:41:45 +0100 |
---|---|---|
committer | praschke <stel@comfy.monster> | 2023-10-17 21:41:45 +0100 |
commit | ae91e2442d7b3746c633871ff956a8addd7046b5 (patch) | |
tree | f10a4b5af7cec8eff3ee6e5946779f315da6df00 /docs/templates.md | |
parent | 9a78edaee74a8355d49ec930c82e118518d5d625 (diff) |
fix: furigana and furiganaPlain
Diffstat (limited to 'docs/templates.md')
-rw-r--r-- | docs/templates.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/templates.md b/docs/templates.md index c050889f..bf5bd897 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -49,8 +49,8 @@ Converts a definition or expression/reading pair to its furigana representation. <details> <summary>Syntax:</summary> - <code>{{#furigana}}<i><definition></i>{{/furigana}}</code><br> - <code>{{#furigana <i>expression</i> <i>reading</i>}}{{/furigana}}</code><br> + <code>{{furigana <i>definition</i>}}</code><br> + <code>{{furigana <i>expression</i> <i>reading</i>}}</code><br> * _`definition`_ <br> The definition to convert. @@ -63,8 +63,8 @@ Converts a definition or expression/reading pair to its furigana representation. <summary>Example:</summary> ```handlebars - {{#furigana}}{{.}}{{/furigana}} - {{#furigana "読む" "よむ"}}{{/furigana}} + {{furigana .}} + {{furigana "読む" "よむ"}} ``` Output: @@ -84,8 +84,8 @@ Converts a definition or expression/reading pair to its simplified furigana repr <details> <summary>Syntax:</summary> - <code>{{#furiganaPlain}}<i><definition></i>{{/furigana}}</code> - <code>{{#furiganaPlain <i>expression</i> <i>reading</i>}}{{/furiganaPlain}}</code><br> + <code>{{furiganaPlain <i>definition</i>}}</code> + <code>{{furiganaPlain <i>expression</i> <i>reading</i>}}</code><br> * _`definition`_ <br> The definition to convert. @@ -98,8 +98,8 @@ Converts a definition or expression/reading pair to its simplified furigana repr <summary>Example:</summary> ```handlebars - {{~#furiganaPlain~}}{{.}}{{~/furiganaPlain~}} - {{#furiganaPlain "読む" "よむ"}}{{/furiganaPlain}} + {{~furiganaPlain .~}} + {{furiganaPlain "読む" "よむ"}} ``` Output: |