Trying to format the definition output to Anki #124
ajbjc
started this conversation in
Customizations
Replies: 1 comment
-
Update, I have managed to figure out how to format everything, never touching handlebars.js again. Though still wondering if it's possible to hide the see also section. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to make it easier to edit the word meaning in Anki without using an HTML editor? With the styling:
I get rid of some stuff:

However, when I try to remove any of the list elements: *, ① and the bullet points, it just deletes the tags at the top which I want to keep. The only way to edit out the list elements and the items I don't want: is to get the HTML, format it and then find the parts that need deleting. I also tried removing all relevant mentions of <li>, <ul>\ and <ol>\ from the Yomitan Handlebars.js Anki card template which does nothing. All I want to do is to get it to say either:
or
Depending on which is needed
Also, despite setting text-align to center for the yomi-glossary class, only the tags by themselves get centred, and none of the list items gets centred.
Lastly, is there a full list of data-sc-contents I can use? For example, I want to remove the extra "see: ..." info that sometimes appears for definitions.
Beta Was this translation helpful? Give feedback.
All reactions