ashlinchak / mdanki

Markdown to Anki converter
839 stars 47 forks source link

Re-import a same markdown converted akpg will create a duplicated note type #13

Open Stark-X opened 4 years ago

Stark-X commented 4 years ago

After generating an apkg with the same markdown file, I import it, then I found a new note type naming with a hash id suffix will appear, and the totally same notes will be imported.

For example,

markdown A -> A.apkg -> [notyType, notes] markdown A -> A.apkg -> [notyType-1acd2, notes]

oskarryn commented 1 year ago

Some work has been done towards fixing this in https://github.com/ashlinchak/mdanki/issues/8. Unfortunately, the problem still exists. Too bad, this bug makes mdanki usable only for the one-time import of a deck generated from a markdown file. Everyone expects to be able to update the markdown file, re-generate the deck, and re-import it to Anki. The readme should be updated to highlight this limitation until the bug is fixed.