JeppeKlitgaard / ObsidianAnkiBridge

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

Support for obsidian heading embeds #36

Open tnewing opened 1 year ago

tnewing commented 1 year ago

Hi! Excellent plugin (and beautiful documentation) - would it be at all possible to add for support for embedding obsidian headings as the 'back' of flashcards?

I take evergreen-style notes and then create cards that embed an internal link to the heading within the note than contains the answer, like so;

Describe the features of Aβ plaques in Alzheimer's disease
???
![Aβ Plaques](Alzheimers%20disease.md#Aβ%20Plaques)

The advantage being that I don't need to write my card backs a second time, and my cards remain in sync with any changes to my notes

Currently I'm doing this using the obsidian-spaced-repetition plugin, but I'd like to switch to Anki

Using the above flashcard content with the Basic code block style note gives the following output in Anki;

---
Describe the features of Aβ plaques in Alzheimer's disease
===
![Aβ Plaques](Alzheimers%20disease.md#Aβ%20Plaques)

image

I'm not sure exactly how the block is being processed, so I don't have any specific suggestions on how to achieve this - but I'd appreciate any suggestions/input you have to offer!

Obsidian version: 1.0.3 AnkiBridge version: 0.6.17 Anki version: ⁨2.1.54 (b6a7760c)⁩

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.