This repository has been archived by the owner on Feb 25, 2023. It is now read-only.
Anki integration: Definitions with images do not work #1741
Comments
I have attached a test dictionary that includes the entries 藍, 亜 and 謎 |
Yes, this is currently expected. Anki integration isn't implemented yet for either images or structured-content, and the "definition" text is a JSON object instead of a string, so handlebars stringifies it to "[Object object]". I'll have to make some changes to how Anki receives the images and formats the fields. |
@toasted-nutbread I have a question regarding this. |
No changes required. |
This was referenced Jun 27, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For an upcoming monolingual dictionary we are making we are taking advantage of Yomichan's images and gaiji (structured-content) feature.
They display correctly in the extension but not without this CSS
Well done.
However, when you try to make an Anki card from it, the glossary field turns into

[object Object]
Here are my Anki integration settings
I mainly use the handlebars.js featured on animecards.site, which adds the
{test}
field, which adds definitions to your cards in plain text.However, this does not matter here as stock handlebars.js and either {glossary} or {glossary-brief} have the exact same result
The Anki card result...

The text was updated successfully, but these errors were encountered: