Obsidian_to_Anki icon indicating copy to clipboard operation
Obsidian_to_Anki copied to clipboard

Make cards go to decks based on folder structure

Open rad-ed opened this issue 1 year ago • 6 comments

Is there a way to make it so that all new folders sync to sundecks of the same name?

I.e. the folder foo/bar/baz in obsidian places cards in the deck foo::bar::baz in Anki.

rad-ed avatar Nov 22 '23 22:11 rad-ed

I was wondering the same. There is another plugin that does this but it's not obsidian-to-anki (It generates some window similar to Anki, I don't want this).

KatoDF avatar Dec 03 '23 17:12 KatoDF

I just want this bc I want to see a full graph of my notes and re-doing them one by one... Instead of having many flashcards in a single note just to send them to the same deck. 2nd semester we review math theorems and I don't want to do repeated flashcards.

KatoDF avatar Dec 03 '23 17:12 KatoDF

Hi, I have implemented this feature in pull request #429 long time ago. Will try to merge it later!

jasonho1308 avatar Jan 10 '24 10:01 jasonho1308

When will this feature be added please, it's really useful!

norcx avatar Mar 09 '24 05:03 norcx

I've found that this can be achieved using a templater plugin. Just customize a script to get the current file path and speak/replace it with ::, so as to get the string "TARGET DECK: Folder1::Folder2::filename"

norcx avatar Mar 09 '24 13:03 norcx

I've found that this can be achieved using a templater plugin.

Just customize a script to get the current file path and speak/replace it with ::, so as to get the string "TARGET DECK: Folder1::Folder2::filename"

My pull request #429 should work, but I have no time to merge it now, u can try it first

jasonho1308 avatar Mar 09 '24 13:03 jasonho1308