-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing definition/translation when we learn characters from pinyin #44
Comments
The meaning fields need to add in case of 2. Thanks for feedback, I will update the deck. |
I have updated the card template but it is better to update manually. Copy these lines and paste in card template to Card 4, the question for Card 4 is Check front.html of Card 4 <hr>
<div id="char_meaning" class="meaning-card">{{Meaning}}</div>
<script>
var hideList = ['char_sim', 'char_trad'];
function showHide(type, isShow, style = "inline") {
if (isShow) {
document.querySelectorAll(type).forEach(function (val) {
val.style.display = style;
});
} else {
document.querySelectorAll(type).forEach(function (val) {
val.style.display = 'none';
});
}
}
for (var _hide of hideList) {
var el = document.getElementById(_hide);
if (el) {
el.style.display = "none";
}
if (_hide == "char_sim") {
showHide("#char-sim-id", false);
}
if (_hide == "char_trad") {
showHide("#char-trad-id", false);
showHide(".sep", false);
}
}
</script> |
Thanks for the update, so far I’m honestly not sure to understand how to add your code 😅 I Will try when I will be back home with my desktop version. My conf: iOS last update, last package from Anki uploaded yesterday and Ank version 23.12.1 |
Done, finally managed to understand how to do it. It was not difficult but did not look at the right place... So it's working thx. |
I have found another easier way to update the card template. Download and import this deck in Anki and select
You have to turn of during review then from next card the Zhuyin will be hidden. |
There is 2 ways to practice the learn characters with your package:
my bad, just realized I did not provide more details about conf: iOS version (23.12.1)
The text was updated successfully, but these errors were encountered: