Arthaey / anki-cloze-blanks

An Anki add-on that adds "fill in the blank"-style hints to cloze cards. ID: 546020849
https://ankiweb.net/shared/info/546020849
7 stars 3 forks source link

Suggestion: Highlight mode (trivial clozes) #9

Closed sbseltzer closed 5 years ago

sbseltzer commented 7 years ago

I've been looking for a portable way of doing what cloze to highlight does. Your addon's behaviour is very similar, but appears to works at the card content level as opposed to desktop display level.

In essence, I'm looking for a mode that trivially clozes cards.

{{c1::my text}} => {{c1::my text::my text}}

That gives me the freedom to play with how clozes display in javascript by myself. So far I haven't seen an addon that enables this.

I realize that sorta departs from the concept of "blanks", but it seems like this addon is functionally about automating hint text.

sbseltzer commented 7 years ago

Managed to get something working in my fork, though I think I might have broken some existing functionality (which is weird because my changes were mostly additive). Let me know if you'd be interested in merging. My use-case is pretty specialized so it's not too much of an issue for me. I'd never worked with Python so I wouldn't trust me to make sane changes. :P

Arthaey commented 5 years ago

If you ever got your changes working with normal cloze cards too, I'd be interested in accepting a pull request. Feel free to re-open this issue or just sent a PR if you want to! :)