News for hackers. Stuff that matters.
Re:Show HN: MDAnki – convert Markdown to Anki cards by jlelonm on Friday February 21, 2020 @06:28PM (#22388072)
Oooh, neat! Reminds me of this addon:

LaTeX Note Importer: https://ankiweb.net/shared/info/1199027445

I'm almost sold on downloading this, but I have a question.

Let's say I create notes.md with 2 cards:

## hey

hi

## hello

howdy

But, then I modify card #2:

## hello modified

howdy modified

and recreate the deck.

Does the 2nd card that has now been modified get treated as a whole new card? (In other words, if I've been using card 2 to study, do I have to start all over?)

If this is NOT the case, I am absolutely sold.

Re:Show HN: MDAnki – convert Markdown to Anki cards by rudnek on Saturday February 22, 2020 @03:40AM (#22390026)
MDAnki produces a file with a deck for importing to Anki. Every new import will generate new cards. I don't know anything if it's possible to make updating cards during the import. I'll try to investigate it. Thanks for this note!
Re:Show HN: MDAnki – convert Markdown to Anki cards by kfoley on Saturday February 22, 2020 @07:53AM (#22390744)
This would change a lot of the current design but one option is to use AnkiConnect[0], it provides a network interface for interacting with Anki and creating/updating cards.

There's a somewhat similar project[1] that lets you use Org mode to make cards. It uses Emacs so there may not be too much you can apply but could be useful to take a look at.

[0] https://github.com/FooSoft/anki-connect [1] https://github.com/louietan/anki-editor