goldendict-ng/website/docs/topic_anki.md
YiFang Xiao 3ea5ebeebf ocr: add how to series
doc: move howto to website
2023-05-21 14:52:11 +08:00

1.8 KiB

Anki Integration

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

Using URI schemes

goldendict://word link can be use to query a word directly on Goldendict.

On your Anki card's template, you can add the code below to have a "1 click open in Goldendict" card.

<a href="goldendict://{{Front}}">{{Front}}</a>

Note that this feature doesn't available on macOS