Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Add additional Anki card marker aliases (#2083)
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread authored Mar 14, 2022
1 parent 48b2807 commit 1590f52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/js/pages/settings/anki-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1590f52

Please sign in to comment.