st3v3nmw / obsidian-spaced-repetition

Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian.md
https://www.stephenmwangi.com/obsidian-spaced-repetition/
MIT License
1.51k stars 184 forks source link

Entire note as one flashcard #729

Open FabianBickel opened 1 year ago

FabianBickel commented 1 year ago

Is your feature request related to a problem? Please describe. I recently switched to Obsidian and compared to a much more elaborate and complicated system I used earlier, I now do a minimalistic Zettelkasten system. I also came across this plugin which allowed me to switch not only my note-taking but also my studying over to Obsidian, making things a lot easier.

Currently, I usually create notes for each topic I work on containing all the flashcards concerning that topic. For each flashcard I basically just ask the question: "What is [subtopic x]?" with the answer being an entire note explaining subtopic x. This saves me a lot of time but it could be optimised even further.

Describe the solution you'd like This is where my feature suggestion comes in. I would like an option to just tag any note with a pre-defined tag like "note-flashcard" (the name needs some work) to make the entire note one big flashcard with the title being the front and the content being the back of the card.

There could also be a note property like flashcard-prompt where users can put the question they want to be shown when the note gets called as a flashcard for studying.

Additional context Although I can't make any promises yet, I can say that I would like to contribute this feature myself. As I am still pretty new to this whole GitHub thing so I don't really know how things work around here yet though. Can I just fork the repo and create a pull request with the changes from that?

ronzulu commented 1 year ago

Hi Fabian

I'm curious about having a specific tag name for this feature - e.g. note-flashcard.

I'm curious about the benefit compared with using the standard review tag (as in the settings).

Cheers Ronny

FabianBickel commented 1 year ago

Hi Ronny

I just read your comment on #701 (this one) and what I meant is having a separate list of tags that do what I described. That list would be separate from the standard review tag.

The benefit of my approach over your idea in the comment could be that users can explicitly decide what they want to do with a note, instead of having the plugin "decide it for them". This might prevent some confusion and user error.

However, I do like your idea as well, as it is a more simple and elegant solution and reduces the complexity of the plugin's settings.

Best Fabian

ronzulu commented 1 year ago

Hi again

In settings, multiple base tags can be specified (space separated).

So one idea would be that in your use case, add the specific tag you want so that it becomes, for example: #flashcards #note-flashcard

So a note with these characteristics:

  1. contains any of the tags listed in "flashcard tags" settings, and
  2. that doesn't contain any recognized questions".

would be treated by the plug-in as an "entire note flashcard":

Cheers Ronny

FabianBickel commented 1 year ago

Hi Ronny

This sounds like a good implementation.

However, I still think my idea has some merit because it would allow for more control over the behaviour of the plugin for users. You could not only explicitly define which notes should be "(entire) note-flashcards, it would also make nested flashcards possible, where you could define "normal flashcards" inside of note-flashcards

Your solution is more intuitive though so as a compromise I would suggest to make yours the default behaviour but to allow users to switch to mine in the plugin settings.

In practice this would mean that if the user switches to my version, a second text field would appear where they could define the tags for note-flashcards, which explicitly make a note into a note-flashcard. For example:

Normal flashcards: #flashcards1 #flashcards2 Note-flashcards: #note-flashcards1 #note-flashcards2

Using this version, empty notes with #flashcards1 would not count as a note-flashcard, only if it uses the #note-flashcards1 tag instead.

Best Fabian

abdelbk commented 3 months ago

I second this. I have a folder where I put new vocabulary. So I create notes where the word is the title and the definition is the content. Turning a note to a flashcard would be so helpful.