Markdown files to Anki notes?

Does anyone have anything that they use for this in place at the moment that they would be willing to share?

I have had a look at the existing addons in the Anki Addons but these look to be out of date now and no longer work. I did also see a few possibilities on github for scripts that may achieve this but I have hit a bit of a brick wall getting them to play ball.

As Silverbullet uses Markdown directly I think it would be a great feature but it is a shame that Anki does not support Markdown natively. Obsidian apparently has something that may work but obviously I switched away from that as I didn’t find it as good :slight_smile:.

Just an update in case it helps anyone going forwards, I managed to get it to work!

Using the below addon for Anki this hooks into my Anki directory in silverbullet and can pull in information to construct or update new cards!
https://ankiweb.net/shared/info/2141874715

It turns out I had to adjust the permissions so that Anki can read/write to the silverbullet directory (turns out reading the error messages/log files is really useful…one day I will remember honest!).

All this means in a roundabout way that I can still search and tag all the information in silverbullet which is the main goal but I can also use the same data in Anki for spaced repetition learning.

It can be managed in a really simple way. If I want to add a card, I add the question/answer in the below format and this gets pulled in. It also respects any changes, so if something needs adjusting later (a typo etc) you can run the import again and you are good to go without losing your stats in Anki.

Example of note structure:

Generated card:

Tag added to silverbullet note:

Please note, as the Anki software writes back and adds in its tags it does sometimes conflict with the open session so it is usually best to leave the Notes page and come back when it is imported to avoid any confusion. If you don’t have it already I would also advise using the git plug to make sure everything is backed up should anything disastrous happen (hasn’t yet but better to be safe than sorry!).

Very cool stuff and very helpful thanks for the awesome software and hope it helps someone :slight_smile:.

1 Like