mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
1.8 KiB
1.8 KiB
Anki Integration
prerequisite
- install anki
- install ankiconnect
configure anki
1. create a new model, or use an existing model
For example, the model could have Front
and Back
fields.
2. configure the template
the front template
configure goldendict
1. through toolbar=>preference=>network
- Word - Vocabulary headword.
- Text - Selected definition.
- Sentence - Search string. You can leave it blank.
Example for adding Japanese sentences:
2. action
3. result
Sentence, word, and definition:
Using URI schemes
goldendict://word
link can be use to query a word directly on GoldenDict-ng.
On your Anki card's template, you can add the code below to have a "1 click open in GoldenDict-ng" card.
<a href="goldendict://{{Front}}">{{Front}}</a>
Note that this feature doesn't available on macOS