PerplexityCoding / KanjiKeywordOverlay

Kanji Keyword Overlay Plugin for Anki
MIT License
7 stars 2 forks source link

Specifying multiple fields in the Memo field? #5

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi. I use seperate fields for meaning mnemonic and reading mnemonic. Would it be possible to add support for specifying multiple fields in the Memo like Meaning;Reading? Thank you.

ghost commented 4 years ago

Hello, Short answer yes.

You can do that following the steps: 1) Inside addons folder, copy the file data/template.hbs to user_files/ 2) Modify the section:

    <h2 class="kol-keyword">
        {{#kol-keyword}}
            {{kol-keyword}}
        {{/kol-keyword}}
    </h2>

to for instance:

    <h2 class="kol-keyword">
        {{Meaning}}:{{Reading}}
    </h2>

Does it solve your problem ?

ghost commented 4 years ago

That did it. Thank you so much.