Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Stark-X opened this issue Jun 30, 2020 · 1 comment

Comments

@Stark-X
Copy link

Stark-X commented Jun 30, 2020

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
Copy link

oskarryn commented Feb 3, 2023

Some work has been done towards fixing this in #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants