obsidian-spaced-repetition icon indicating copy to clipboard operation
obsidian-spaced-repetition copied to clipboard

[FEAT] Automatically recognizing question mark ? at the end of a sentence

Open e-alizadeh opened this issue 3 years ago • 1 comments

I like to have flashcards in the format of questions and answers. The inconvenience is that when I have the answer to a question in a next line, I have to add an additional ? between the question and answer so that the amazing Spaced Repetition plugin recognizes it as a multiline flashcard like below

What's the benefit of spaced repetition?
?
Proven way to remember contents.

However, the ideal way is for the plugin to recognize the question mark and automatically creates a flashcard for it

What's the benefit of spaced repetition?
Proven way to remember contents.

I propose adding an option to the plugin settings with this regard.

e-alizadeh avatar Feb 03 '22 04:02 e-alizadeh

This makes parsing rather difficult IMO. When I think about it, it seems simple to add a regex match for a ? at end of line but I feel there's potential for weird bugs. Maybe we can look at this in a separate fork and do some beta testing.

AB1908 avatar Mar 09 '22 17:03 AB1908