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

Feature suggestion: alternative cloze note generation #101

Open
TRIAEIOU opened this issue Feb 15, 2023 · 1 comment
Open

Feature suggestion: alternative cloze note generation #101

TRIAEIOU opened this issue Feb 15, 2023 · 1 comment

Comments

@TRIAEIOU
Copy link

An alternative way of generating notes is using one note per subject with clozes for the different questions, for instance using Flexible cloze 2 (GitHub) or similar note style. The advantage of this is keeping related questions in the same place, facilitating updating existing subjects. It also corresponds well with note taking from a lecture for instance (the entire lecture on on note). A feature suggestion would be to be able to generate one note per file:

  • Having cloze shortcuts (Ctrl+Shift+C/Ctrl+Alt+C).
  • Configurable target note type/model.
  • Using the first top level heading (#) as Title field (field name configurable).
  • Running the remaining document through marked as is.
  • Extra: ensure the generated HTML is "compatible" with the Anki editor (doesn't use <p> etc.). I have an extension (GitHub) that inserts Markdown editors in Anki, it uses unified.js for Markdown ↔ HTML conversions and contains code to adapt the HTML to "Anki style HTML".

Thoughts? I could probably create a PR for it but it would require me to read up on the Anki for VSCode source and I think the actual implementation (excluding the HTML compatibility) would be fairly simple so if anyone who already knows the code base is up for it that would be great.

@rleyvasal
Copy link

I like the idea of having a Cloze shortcut Ctrl+Shift+C or Ctrl+Alt+C where the user could highlight a word and with a keyboard combination make it a Cloze

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants