reuseman / flashcards-obsidian

🎴 An Anki plugin for Obsidian.md
MIT License
890 stars 86 forks source link

Make whole content between headers as a card instead of first block #215

Open Dnarts opened 1 month ago

Dnarts commented 1 month ago

Description:

I find this plugin very handy, useful, and simple. However, I often need to either memorize the entire page or quickly re-read the text. The problem arises when I want to do this quickly and on-the-fly without making any structural changes to the text specifically for flashcards, as I do not have time for this. Additionally, my linter creates spaces between paragraphs to improve text readability, resulting in only paragraphs being captured. This is inconvenient because I have to spend extra time deleting and returning empty spaces.

I need a solution that allows for the quick capture and repetition of larger text blocks without being constrained by paragraph breaks introduced by formatting tools.

Alternatives Considered:

I have thought about manually adjusting the text to remove spaces or using different plugins, but neither solution is ideal as they either disrupt the readability or require switching between tools, which is not efficient.

Additional Context:

This feature would greatly enhance the usability of the plugin for educational purposes and for users who need to manage large amounts of text effectively.

Feature Request: Improved Flashcard Creation Process

Current Situation

Currently, the only way to create flashcards is by filling in empty fields with #flashcard between paragraphs, which results in an unappealing appearance.

Proposed Improvements

1. Paragraph-level Cloze Deletions

Allow entire paragraphs to be treated as cloze deletions. This would enable hiding larger chunks of text or full paragraphs within a single deletion.

Example:

# John Doe
Who is he?
{{c1::answer}}

He was born {{c2::that year}}, but found out about him {{c3::in Early...}} and etc

2. Whole Card Cloze Creation

Implement a feature where users can create multiple cloze deletions for an entire card with a single action:

  1. Highlight all text on a page using a text-wrapper extension.
  2. Automatically generate 1-10(n)cards from all headers (#, ##, ###) with all clozes in one click.

Benefits

Implementation Considerations

We believe these improvements will significantly enhance the user experience and efficiency of flashcard creation while keep going trough materials on-the-fly

github-actions[bot] commented 1 month ago

Thank you for taking the time to report the issue and help me to make the project better! 🙂

MassaKone commented 1 month ago

Tis enhancement will greatly improve this plugin. Will buy you many coffees if it is added.

Dnarts commented 6 days ago

Up ='(