diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2022-03-13 21:17:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 21:17:35 -0400 |
commit | 1590f5218c5872f3683820e9611d4a4fa2b7c341 (patch) | |
tree | dd8614259a0217bee94ca365d0f0906f7a82e58f | |
parent | 48b2807120928654ae52ea78bd7d2d9824eaa05e (diff) |
Add additional Anki card marker aliases (#2083)
-rw-r--r-- | ext/js/pages/settings/anki-controller.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js index a7630d86..daf09143 100644 --- a/ext/js/pages/settings/anki-controller.js +++ b/ext/js/pages/settings/anki-controller.js @@ -677,9 +677,11 @@ class AnkiCardController { const markers = this._ankiController.getFieldMarkers(cardType); const markerAliases = new Map([ + ['expression', ['phrase', 'term', 'word']], ['glossary', ['definition', 'meaning']], ['audio', ['sound']], - ['dictionary', ['dict']] + ['dictionary', ['dict']], + ['pitch-accents', ['pitch']] ]); const hyphenPattern = /-/g; |