-
Notifications
You must be signed in to change notification settings - Fork 199
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
[BUG] Flashcards are broken if the separator line contains spaces #690
Comments
Good report. Would you like to be the one to fix it? It should be a rather simple change in the parser. |
Very interesting find @carlos-truong !!!! This could be the reason why my cards were also invisible. #685 |
I am working on fixing this. Another thing I want to simultaneously fix: we need a way to track which cards do not have ANY question separator (such as Right now, if you make a card with NO separator, the card becomes invisible. Suppose you have 1000 cards. It becomes completely impossible to track down which cards are incomplete (i.e. no separator, you only took some rough notes on the card, you didn't clearly write down a question/answer). My workflow with cards is I am constantly putting notes down, then adding a tag like #flashcards/my_subject. But often these notes/cards are incomplete. But under the current system, it becomes impossible to sift through my massive number of cards to see which cards are incomplete. Perhaps I can make the parser also return notes, which do not have the separators, so the user knows which cards are "incomplete". Or, we can treat cards without a separator as a new card type - i.e. more like a note, than a flashcard. We already have CardType.Cloze, CardType.MultiLineBasic, etc. - I can make a new CardType.Note. |
Hey Richard, these are pretty good ideas but I actually had some deeper thoughts on SRS and the ideas about context. I've been working on a separate plugin to actually address that as I'm finding it hard to help with this one. I have a flow in Figma as well. I think we should chat sometime as I'd really value your feedback. |
Hey guys, Just fixed the problem mentioned in topic. Please, check this out. Hope it helps. Here is a little PR. |
@ronzulu this should be fixed, may you could close it |
Agreed, closing this now. |
Describe the bug
Many times my flashcards do not appear in the deck.
I've tried to reload Obsidian multiple times in the hope that they would appear but in the end I became desperate.
Until today I just realized it's because I accidentally added spaces to the separator line.😭
These spaces are invisible so I can not detect them.
To Reproduce
Steps to reproduce the behavior:
For example:
abc
??_ _(add spaces here)
def
Expected behavior
The flashcard appear in the deck regardless of whether there were spaces in the separator line or not
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: