JeppeKlitgaard / ObsidianAnkiBridge

Yet Another Obsidian Anki Bridge.
https://JeppeKlitgaard.github.io/ObsidianAnkiBridge/
MIT License
89 stars 12 forks source link

Make it possible to render the contents of cards that already exist in the Anki collection. #37

Open ankified opened 1 year ago

ankified commented 1 year ago

I've been looking for a way to link my flashcards to my obsidian notes lately and the first approach I thought about was by creating deep links to load the card in the anki previewer dialog, but I have no Idea about how to do it. Then I learned from the Anki Connect documentation that it's possible to use this add-on to get the informations from any card, including the question, the answer and the CSS by request of external scripts. Now that I found that your plug-in can render the contents of flashcards inside obsidian I think it'd be awesome if you made it possible to render the contents of the cards that already exists in Anki's collection inside Obsidian as well.

github-actions[bot] commented 1 year ago

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

Please be mindful that this is a hobby project and any support I am able to offer is done at the expense of my (often hard to come by) spare time.

JeppeKlitgaard commented 1 year ago

Thank you for the request!

Unfortunately doing a two-way conversion would be complicated and it would be very difficult to come up with an elegant solution. AnkiBridge works on a single ground truth, which is the Obsidian vault. I can't see this changing in the foreseeable future.

Cards from Anki would be unavailable when Anki isn't running or a caching layer would have to be implemented and ultimately I think a better approach would be to manually or semi-automatically convert cards into Obsidian and then use AnkiBridge to put them back into Anki — This is actually what I've been doing myself.