Ten Logo
Resources Board

Resource

Flexible Yomitan Dictionary Handlebars

Customizable handlebars for Yomitan dictionary selection, adapting from JP mining note. Allows flexible primary/secondary definition control based on note types and opt-first-definition-type setting.

  • Resource
  • #Anki
  • #Dictionary
  • #Yomitan

Shared by 天 Staff

Published ·Updated

Flexible Yomitan Dictionary Handlebars screenshot

Details

Dictionary selection handlebars adapted from JP mining note to work with any note type. They don't process the dictionary output at all; it's fully equivalent to using {single-glossary-} handlebars.

Find the code here: GitHub Gist

Features:

* {primary-definition}: Can be either the first monolingual or bilingual dictionary depending on opt-first-definition-type.

* {secondary-definition}: Can be either the first bilingual or monolingual dictionary depending on opt-first-definition-type.

Usage:

Selecting the primary definition by highlighting the dictionary name in the Yomitan popup, making the selection bold, or setting dictionaries to ignore via regex also still works.