ObsidianToAnki / Obsidian_to_Anki

Script to add flashcards from text/markdown files to Anki
GNU General Public License v3.0
1.56k stars 137 forks source link

Scan the specified folder in the vault instead of the entire vault #274

Open Jzhnakui opened 3 years ago

Jzhnakui commented 3 years ago

Since adding each card requires the same format, I set up a template for adding anki cards. This is a screenshot of my template: image

When I add a new card using this template, the card looks like this: image

Then I let the plugin scan my Obsidian to create the card, The card named 'an anki card form obstoanki-templates' and the template named' obstoanki-templates' will be treated as anki cards, The template named 'obstoanki-templates' is now id tagged, so this template will no longer be used. image

Therefore, I would like to ask if there is a way to specify the scanning folder to solve my problem. Thank you very much for your work.

cocofoco commented 3 years ago

If this feature is added, it would also solve another issue (https://github.com/Pseudonium/Obsidian_to_Anki/issues/246) that happens when you try using the plug-in in a vault that has a lot of notes (thousands).

Please make this possible, it would be so great to have the option to just scan one folder instead of the whole vault.