Add additional Anki card marker aliases (#2083)
This commit is contained in:
parent
48b2807120
commit
1590f5218c
@ -677,9 +677,11 @@ class AnkiCardController {
|
|||||||
|
|
||||||
const markers = this._ankiController.getFieldMarkers(cardType);
|
const markers = this._ankiController.getFieldMarkers(cardType);
|
||||||
const markerAliases = new Map([
|
const markerAliases = new Map([
|
||||||
|
['expression', ['phrase', 'term', 'word']],
|
||||||
['glossary', ['definition', 'meaning']],
|
['glossary', ['definition', 'meaning']],
|
||||||
['audio', ['sound']],
|
['audio', ['sound']],
|
||||||
['dictionary', ['dict']]
|
['dictionary', ['dict']],
|
||||||
|
['pitch-accents', ['pitch']]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const hyphenPattern = /-/g;
|
const hyphenPattern = /-/g;
|
||||||
|
Loading…
Reference in New Issue
Block a user