summaryrefslogtreecommitdiff
path: root/ext/data/templates/anki-field-templates-upgrade-v21.handlebars
diff options
context:
space:
mode:
authorpraschke <stel@comfy.monster>2023-10-17 21:41:45 +0100
committerpraschke <stel@comfy.monster>2023-10-17 21:41:45 +0100
commitae91e2442d7b3746c633871ff956a8addd7046b5 (patch)
treef10a4b5af7cec8eff3ee6e5946779f315da6df00 /ext/data/templates/anki-field-templates-upgrade-v21.handlebars
parent9a78edaee74a8355d49ec930c82e118518d5d625 (diff)
fix: furigana and furiganaPlain
Diffstat (limited to 'ext/data/templates/anki-field-templates-upgrade-v21.handlebars')
-rw-r--r--ext/data/templates/anki-field-templates-upgrade-v21.handlebars30
1 files changed, 30 insertions, 0 deletions
diff --git a/ext/data/templates/anki-field-templates-upgrade-v21.handlebars b/ext/data/templates/anki-field-templates-upgrade-v21.handlebars
index e69de29b..92034995 100644
--- a/ext/data/templates/anki-field-templates-upgrade-v21.handlebars
+++ b/ext/data/templates/anki-field-templates-upgrade-v21.handlebars
@@ -0,0 +1,30 @@
+
+{{<<<<<<<}}
+<span class="expression-{{termFrequency}}">{{~#furigana}}{{{.}}}{{/furigana~}}</span>
+{{=======}}
+<span class="expression-{{termFrequency}}">{{~furigana .~}}</span>
+{{>>>>>>>}}
+
+{{<<<<<<<}}
+{{#furigana}}{{{definition}}}{{/furigana}}
+{{=======}}
+{{furigana definition}}
+{{>>>>>>>}}
+
+{{<<<<<<<}}
+<span class="expression-{{termFrequency}}">{{~#furiganaPlain}}{{{.}}}{{/furiganaPlain~}}</span>
+{{=======}}
+<span class="expression-{{termFrequency}}">{{~furiganaPlain .~}}</span>
+{{>>>>>>>}}
+
+{{<<<<<<<}}
+{{#furiganaPlain}}{{{definition}}}{{/furiganaPlain}}
+{{=======}}
+{{furiganaPlain definition}}
+{{>>>>>>>}}
+
+{{<<<<<<<}}
+{{~#furigana expression reading~}}{{~/furigana~}}
+{{=======}}
+{{~furigana expression reading~}}
+{{>>>>>>>}}