Giter VIP home page Giter VIP logo

ankitemplate's People

Contributors

ruin1990 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lonlylion

ankitemplate's Issues

mathjax包裹错误

例如:(tany\dfrac{\sqrt{4}}{4T^{6}}),挖空后会显示[...]{4T^{6}}),点击后知识显示单纯的文本(tany\dfrac{\sqrt{4{4T^{6}})}}

your apkg contains a 15digit card id which can cause some problems

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.

Some clozer not revealing in new versions of anki.

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}}

As we can see below:
Recording 2023-04-03 at 20 15 51

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}}
Recording 2023-04-07 at 04 10 44

请问可以在模板里加入打字输入功能吗

就是每一个填空都有一个对应的输入框可以打上答案?感觉这样可以更有助于记忆。
ps:很感谢你的模板,我找到的最好的填空题模板。很遗憾我并不会代码。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.