-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cloz: many {{C1:: #4
Comments
I went back and forth during development on whether a series of clozes should increment or share an ID... and I ended up going with the increment. Just to be clear, a note with Markdown like this: This note has ~~one~~, ~~two~~, ~~three~~ clozes. Will yield Anki markup like this when synced via Yanki: This note has {{c1::one}}, {{c2::two}}, {{c3::three}} clozes. And you're wondering how to instead get: This note has {{c1::one}}, {{c1::two}}, {{c1::three}} clozes. The current short answer is that you can't, and that's just a design decision made in the process of taking a radically reductive approach to coming up with simple mapping between Markdown syntax and Anki functionality. Potentially open to this, but would have to think of the right syntax... open to suggestions. |
How about insert an additional numbers, for example (more flexible):
or add a new tag for grouping directive, for example: #cloze-group BTW, i've made a introducing Youtube videos about your plugin, maybe you'd be interested: |
Thanks Jerry, yes some kind of number prefix probably makes sense.
There's already the precedent of using the ~~1|one~~ ~~2|two~~ ~~3|three~~ Also in hindsight I'm not crazy about the E.g. instead of: ~~1|one _hint_~~ ~~2|two _another hint_~~ ~~3|three _and another hint_~~ Do something like: ~~1|one|hint~~ ~~2|two|another hint~~ ~~3|three|and another hint~~ Tricky markup like this is kind of antithetical to Yanki's premise of keeping things simple, but I suppose it stays out of the way for 99% of use-cases. Interested in your thoughts. I'm busy this coming week, but should have some time the following week to implement one of these variations. And not to derail the issue thread, but thanks for sharing the videos, I'll link to them in the readme on the next release! I need to watch them all the way through, but a couple quick thoughts:
Feel free to DM me on Discord (username |
You're the most serious author I've ever seen replying to a post. 😀 Thank you for your response. If there are more requests, I will ask for them directly. |
I added support for manual cloze numbering in the latest release, 1.3.0. I initially implemented the The markdown: ~~1 first cloze~~ ~~1 second cloze~~ ~~2 third cloze~~ Now yields the following Anki markup:
There's also (undocumented) tolerance for some variations on the exact format of the cloze number... for example The existing behavior of auto-incrementing clozes remains as before. The Markdown: ~~first cloze~~ ~~second cloze~~ ~~third cloze~~ Yields the Anki markup:
The hint syntax is also as before, the Markdown: ~~1 first cloze _first hint_~~ Yields the Anki markup:
|
Thanks. Can't wait to try it out. |
Hi,
Is there any way to insert many {{C1:: in Front?
Thanks.
The text was updated successfully, but these errors were encountered: