ruin1990 / ankitemplate Goto Github PK
View Code? Open in Web Editor NEWSome useful template improve our learning experience
License: Apache License 2.0
Some useful template improve our learning experience
License: Apache License 2.0
比如,一张卡片里,一句话挖空了第1 第2 第3 第4 个词,但是手机端只能通过按钮1234这样按顺序的显示,隐藏也只能按顺序。做不到想点哪个点哪个。这个问题能解决吗~ 谢谢~
例如:(tany\dfrac{\sqrt{4}}{4T^{6}}),挖空后会显示[...]{4T^{6}}),点击后知识显示单纯的文本(tany\dfrac{\sqrt{4{4T^{6}})}}
Thanks for sharing the ClozeAdv note type with your deck ClozeAdv ( Cloze Advance ). The same deck is also in this repo at https://github.com/ruin1990/AnkiTemplate/blob/main/ClozeAdv/AnkiTemplate_ClozeAdv.apkg
This shared deck has two cards that have 15 digit card ids (cids). Usually card ids (cids) are only 13 digits.
As far as I see Anki and Ankidroid assume that card ids are 13 digits. The 13 digit string is the creation time of the card in epoch time in milliseconds. So cids made by Anki will be 13 digits for the coming two centuries.
card ids that consist of 15 digits seem to be produced by some buggy external tools according to the anki creator, source.
I had the problem that this card always shows up when searching with added:1
. here's another 15digit card id bug (that's not caused by cards not from your deck). But as far as I understand your card might create a similar problem.
You can check for yourself with the add-on Advanced Browser after having changed the add-on setting "Show internal fields"
to true. I double check with "DB Browser for SQLite".
I suggest to recreate this deck and update the ankiweb listing.
Hello how long,
I have been using your script for a long time perfectly, but in the new versions of anki I am having random problems when revealing some cards, for example:
{{c1::test1}}
{{c2::test2}}
{{c3::test3}}
{{c3::test3}}
{{c4::test4}}
or
{{c1::test1}}
{{c2::test2}}
{{c3::test3}}
{{c4::test4}}
{{c4::test4}}
I saw with the AnkiWebview Inspector extension the following error in the console:
VM268:419 Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')
at HTMLSpanElement.<anonymous> (<anonymous>:419:27)
at Function.each (reviewer.js:1:3985)
at u.fn.init.each (reviewer.js:1:2459)
at add_answer_into_cloze (<anonymous>:414:14)
at <anonymous>:480:1
at reviewer.js:7:117257
at new Promise (<anonymous>)
at fl (reviewer.js:7:117002)
at reviewer.js:7:117507
at Generator.next (<anonymous>)
reviewer.js:7 Uncaught TypeError: Cannot read properties of null (reading 'style')
at Ar (reviewer.js:7:112035)
Maybe it's something easy to fix, but I don't have enough knowledge.
Thanks a lot!
Edited:
I had not noticed another problem, when we have more than one cloze as below:
{{c1::1}} {{c1::1}} {{c2::2}} {{c2::2}} {{c3::3}} {{c3::3}} {{c4::4}} {{c4::4}}
就是每一个填空都有一个对应的输入框可以打上答案?感觉这样可以更有助于记忆。
ps:很感谢你的模板,我找到的最好的填空题模板。很遗憾我并不会代码。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.