goldendict-ng/howto/how to connect with anki.md
Ren Tatsumoto 1a0af48a7a
Improve Anki support (#384)
* allow the user to configure word,text,sentence Anki fields

* if sentence field is not set, don't add it

* mark the target word bold, if possible

* Update how to connect with anki.md

* rename default field names
2023-03-16 19:55:47 +08:00

1.5 KiB

prerequisite

  1. install anki
  2. install ankiconnect

configure anki

1. create a new model, or use an existing model

For example, the model could have Front and Back fields.

Snipaste_2022-05-21_14-08-21

2. configure the template

the front template

image the back template

image

configure goldendict

1. through toolbar=>preference=>network

screenshot

  • Word - Vocabulary headword.
  • Text - Selected definition.
  • Sentence - Search string. You can leave it blank.

Example for adding Japanese sentences: screenshot

2. action

image

3. result

Word and definition: image

Sentence, word, and definition: screenshot