diff options
author | m-edlund <me@fwegmann.com> | 2024-04-09 10:53:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 08:53:00 +0000 |
commit | 1d52f94379730ef587de87ce3ca8f1a30ac0a44a (patch) | |
tree | b812a0aed52e415184e058d5f38e1f234ddaef76 /ext/data/templates | |
parent | 11e58d616cffbadc5a0c6ab72e5fc803f8c4e70b (diff) |
feature: add handlebar for jidoujisho pitch graph (#773)
* feat: add handlebar for jidoujisho pitch graph
* fix: update handlebar upgrade test
---------
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Diffstat (limited to 'ext/data/templates')
-rw-r--r-- | ext/data/templates/anki-field-templates-upgrade-v29.handlebars | 13 | ||||
-rw-r--r-- | ext/data/templates/default-anki-field-templates.handlebars | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/ext/data/templates/anki-field-templates-upgrade-v29.handlebars b/ext/data/templates/anki-field-templates-upgrade-v29.handlebars new file mode 100644 index 00000000..e19d66c4 --- /dev/null +++ b/ext/data/templates/anki-field-templates-upgrade-v29.handlebars @@ -0,0 +1,13 @@ +{{<<<<<<<}} +{{#*inline "pitch-accent-graphs"}} + {{~> pitch-accent-list format='graph'~}} +{{/inline}} +{{=======}} +{{#*inline "pitch-accent-graphs"}} + {{~> pitch-accent-list format='graph'~}} +{{/inline}} + +{{#*inline "pitch-accent-graphs-jj"}} + {{~> pitch-accent-list format='graph-jj'~}} +{{/inline}} +{{>>>>>>>}}
\ No newline at end of file diff --git a/ext/data/templates/default-anki-field-templates.handlebars b/ext/data/templates/default-anki-field-templates.handlebars index 0495af34..46d5c889 100644 --- a/ext/data/templates/default-anki-field-templates.handlebars +++ b/ext/data/templates/default-anki-field-templates.handlebars @@ -228,6 +228,10 @@ {{~> pitch-accent-list format='graph'~}} {{/inline}} +{{#*inline "pitch-accent-graphs-jj"}} + {{~> pitch-accent-list format='graph-jj'~}} +{{/inline}} + {{#*inline "pitch-accent-positions"}} {{~> pitch-accent-list format='position'~}} {{/inline}} |