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

Add additional Anki card marker aliases #2083

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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