Skip to content

Anki Integration

Prerequisites

  • Install Anki
  • Install AnkiConnect add-on for Anki

Configure Anki

Create a new model or use an existing model

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

Anki Setting

Configure the template

Front template

Anki Front Template

Back template

Anki Back Template

Configure GoldenDict

Through toolbar → Preferences → Anki tab

Anki Goldendict Configure

Field mappings

  • Word: Vocabulary headword
  • Text: Selected definition
  • Sentence: Search string (can be left blank)

Example for adding Japanese sentences

screenshot

Action

image

Result

Word and definition

image

Sentence, word, and definition

screenshot

Using URI schemes

The goldendict://word link can be used to query a word directly in GoldenDict-ng.

On your Anki card's template, you can add the code below to create a "1-click open in GoldenDict-ng" link:

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