Jwrede / Anki-KaTeX-Markdown

Creates a new Basic and a new Cloze Note Type that support Markdown and KaTeX
75 stars 5 forks source link

merging Anki-KaTeX-Markdown and Cloze one by one from AnKing #16

Open WolfPackStatMathieu opened 3 years ago

WolfPackStatMathieu commented 3 years ago

Hello,

I'm using your add-on for learning maths. It's very useful. Thank you very much ! As I'm also wanting to review proofs, I would like to reveal cloze deletions one by one. Do you think it's possible to merge your code and AnKing one's from his "Cloze one by one" card type ? With something like a new card "KaTeX and Markdown Cloze one-by-one" ?

I don't know much about javascript, maybe there is some easy solution. What do you think about it ?

Thanks,

Mathieu

Jwrede commented 3 years ago

I'll download the Add-on and look at it today, didn't see this issue until now, sorry for that

Jwrede commented 3 years ago

Where exactly can I find this "Cloze one by one" card type? Can you send me link to it or explain to me how I can get it?

WolfPackStatMathieu commented 3 years ago

Hello, Thanks for your answer.

I found it on the youtube channel of Anking, in the comments of this video : https://www.youtube.com/watch?v=Schl0ZozIN4 there is a link to his google drive : https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqblFFWHA0TktpdFgxMVRhMmlrVlJzbU81dWY3UXxBQ3Jtc0treUNGdnp0RllhS2x4YjZLazZlMmw2MkE4TXJBRmdzMEVPdm1HY1M4NERXUENma2FPS0ZhcUhva01LYVJQYkRKTC1SMnN4aXNuRFc5dEx4a09panNzQ19iQnBaVTRCOGt0cmlWQzQwekNfWldVaWtNbw&q=https%3A%2F%2Fwww.ankingmed.com%2Fdownloadable-content

The path through folders is : AnKing > Card Types > Deck V10 (AnKingMaster-v3) > Cloze one-by-one 2.1.apkg

I also put it in a zip file. Cloze one-by-one 2.1.zip

Thank you,

Jwrede commented 3 years ago

Sorry for not answering earlier but I've tried to merge these two addons but there are some major problems with KaTeX and trying to get the HTML elements for the text because KaTeX adds alot of Tags to the HTML outputs. Sadly after KaTeX adds its elements its almost impossible to get the old text to lay the blue boxes over the text or I'm just too stupid but until now I wasn't able to get it working, I'll maybe try again after I finished my exams but sadly I'm a little out of time right now, I hope it's not too urgent, sorry for that!

WolfPackStatMathieu commented 3 years ago

Hello, Thank you for having taking time to look at this problem. I hope you're doing well for your exams.

huandney commented 2 years ago

I want to share with you an evolution of cloze one by one, it works better because we can answer from the front, maybe this model is easier to implement the @WolfPackStatMathieu idea. https://drive.google.com/file/d/1qfxynpzzVNFSmCy-QVmSjTir4GorteFx/view?usp=sharing