crybot / obsidian-flashcards-llm

Use Large Language Models (such as ChatGPT) to automatically generate flashcards from obsidian notes
MIT License
33 stars 5 forks source link

Spaced Repetition comments unhide the flashcards in reading view. #11

Open dhniceday opened 5 months ago

dhniceday commented 5 months ago

The Spaced Repetition plugin intersects with comments that are necessary for the SR plugin to work. This will reveal the flashcards in reading view. I think it's better to englobe the flashcard section with double %% instead of hiding them with CSS (if that's what you are doing).

Example (here you can see that you don't have a continuous blockquote anymore):

> #flashcards
>
> Was kann übermäßiges Selbstvertrauen in Bezug auf Wissen und Kompetenz verursachen? ;; Rücksichtslose Verhalten, mangelnde Offenheit für widersprüchliche Informationen, schlechte Leistung und schwerwiegende Fehler

<!--SR:!2024-06-01,1,230-->

> In welchen Bereichen des Berufslebens wurde der Überconfidence-Effekt nachgewiesen? ;; Investment Banking, klinische Psychologie, Medizin und andere
dhniceday commented 5 months ago

Sorry, you can cancel this issue. There's an option in the SR plugin to save the comments on the same line (won't break the formatting).

crybot commented 5 months ago

@dhniceday Yes that's a known issue, It was documented it in the readme, though flashcards enclosing will probably change in the future as I try new things. Using comment blocks with %% would correctly hide the flashcards in preview mode, but you would lose the ability to choose whether you want to see them or not. I'll leave this open for further discussions and ideas.