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

[FEAT] Ignore flashcards in <!-- HTML --> comment blocks #173

Closed
OliverBalfour opened this issue Jun 27, 2021 · 5 comments · Fixed by #229
Closed

[FEAT] Ignore flashcards in <!-- HTML --> comment blocks #173

OliverBalfour opened this issue Jun 27, 2021 · 5 comments · Fixed by #229
Labels
enhancement New feature or request

Comments

@OliverBalfour
Copy link

Is your feature request related to a problem? Please describe.
Sometimes I'd like to ignore a flashcard temporarily without deleting it for good or moving it to another file without the flashcard tag. For example, if there are two similar sounding vocabulary flashcards and you'd like to bury one to avoid confusion.

Describe the solution you'd like
One solution would be to ignore flashcards inside Obsidian's %%multiline comments%%. Another alternative might be something like Anki's bury/suspend feature (although perhaps if this were added, it would just comment out the card.) I think the comment idea is pretty simple and intuitive though.

@OliverBalfour OliverBalfour added the enhancement New feature or request label Jun 27, 2021
@Couriuss
Copy link

Problem is that I write all my flashcards in comments %% so I don't them in preview mode.

@OliverBalfour
Copy link
Author

That's fair, maybe %% isn't the best solution for burying cards then. I can't think of any other nice methods for burying cards, so I might close this ticket for now

@OliverBalfour
Copy link
Author

On second thoughts, perhaps adding HTML style comments could be a good solution?
I've just noticed a bug where adding remnote style tasks in comments like <!-- Question::Answer --> displays a blank question, so it can't interfere with any other workflows people have.
It would be nice if HTML comments were a documented way to temporarily disable flashcards of any type, any thoughts?

@OliverBalfour OliverBalfour reopened this Jun 30, 2021
@OliverBalfour OliverBalfour changed the title [FEAT] Ignore flashcards in %% comment blocks [FEAT] Ignore flashcards in <!-- HTML --> comment blocks Jun 30, 2021
@st3v3nmw
Copy link
Owner

Hey @OliverBalfour, sounds good. Should be a quick fix.

@st3v3nmw
Copy link
Owner

st3v3nmw commented Aug 7, 2021

Fix should be available in the next release once I'm done with testing.

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

Successfully merging a pull request may close this issue.

3 participants