Skip to content
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

Improve for anki clozes #21

Open
dennisseidel opened this issue Feb 5, 2022 · 1 comment
Open

Improve for anki clozes #21

dennisseidel opened this issue Feb 5, 2022 · 1 comment
Labels
accepted This issue was accepted and will be amended/implemented in the future enhancement New feature or request

Comments

@dennisseidel
Copy link

I have some cards that include more complex clozes. E.g.

id: 1644016927359
enabled: true
cloze: true
---
## What Are the Essential Mechanism of a Programming Language to instruct computers and express computational ideas about functions & data?

To instruct the computer and express computational ideas we need a language with *means to combine simple ideas to form more complex ideas*. Every powerful language has three such mechanisms:
	- {{c1::**primitive expressions and statements**}}, which represent the simplest building blocks that the language provides,
	- {{c1::**means of combination**}}, by which compound elements are built from simpler ones, and
	- {{c2::**means of abstraction**}}, by which compound elements can be named and manipulated as units.

Currently the anki code block is by default a basic card when no == or ~~ is included, cards using the native anki cloze syntax from above do not render the clozes in anki.

I suggest changing the behavior that if in the header cloze: true then independent of if i included a cloze the card in anki is of type cloze instead of basic.

Alternatives are:

  • that we would also check for the anki native {{c{number}:: syntax. That is more effort. The advantage is that we prevent creating cloze cards that don't have a cloze in anki. Anki doesn't display such cards
@dennisseidel dennisseidel added the enhancement New feature or request label Feb 5, 2022
@JeppeKlitgaard JeppeKlitgaard added the accepted This issue was accepted and will be amended/implemented in the future label Feb 6, 2022
@JeppeKlitgaard
Copy link
Owner

That's a good idea! This is something I would definitely be up for implementing in a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue was accepted and will be amended/implemented in the future enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants