summaryrefslogtreecommitdiff
path: root/ext/js/data/anki-template-util.js
Commit message (Collapse)AuthorAge
* escape dictionary name for dynamic handlebars (#1032)StefanVukovic992024-06-05
| | | | | * escape apostrophe in dict name for dynamic handlebars * try handling backslashes
* Allow trailing commas in ESLint (#1013)James Maa2024-05-31
| | | | | * Update comma-dangle rule * Fix dangling commas
* Add onyomi-hiragana handlebars (#960)rhgg22024-05-21
| | | | | | | | | | | | | | | | | | | | | | * Add onyomi-hiragana handlebars * Add onyomi-hiragana handlebars * Add docs * Fix typo in documentation of kunyomi/onyomi handlebars * Update ext/data/templates/anki-field-templates-upgrade-v36.handlebars Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com> Signed-off-by: rhgg2 <richard.garner@mq.edu.au> * Update tests for onyomi-hiragana handlebars * Update tests for onyomi-hiragana handlebars * Fix typo in code --------- Signed-off-by: rhgg2 <richard.garner@mq.edu.au> Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Add glossary-first handlebars (#921)24.5.13.0Kuuuube2024-05-13
| | | | | | | | | * Add glossary-first handlebars * Add docs * Fix missing /if * Write handlebars test data
* add single dictionary handlebars (#814)24.5.5.0StefanVukovic992024-05-05
| | | | | | | | | | | | | | | | | * add single dictionary handlebars * fix dicts with kanji in title * sort * rename to single-glossary-XYZ * add brief and no dict variants * add docs, only terms no kanji * allow testing single dict handlebars * remove empty comment
* fix: add missing handlebar entry (#823)m-edlund2024-04-15
| | | | | * fix: add missing handlebar entry * fix: add new handlebar to tests
* Add cloze-body-kana handlebar (#650)Kuuuube2024-02-08
| | | | | * Add cloze-body-kana handlebar * Convert if else to ternary
* Reduce repeated anki field marker code (#632)toasted-nutbread2024-02-05
* Unify repeated code for getting anki field markers * Throw because type safety exists * Simplify * Update order * Update test data