Comments (10)
Hey all, sorry for the long time. I've released [email protected]
with the patch from @amorriscode 👍
from mdanki.
Thanks, @amorriscode, and @DHNishi for the investigation and the PR. I'll update the dependency when the PR'll be merged to anki-apkg-export
from mdanki.
@ashlinchak I made a PR. 😄
from mdanki.
This appears to be an issue in the underlying library. repeat-space/anki-apkg-export#37 calls attention to it. Essentially, https://github.com/repeat-space/anki-apkg-export/blob/master/src/exporter.js#L99 appears to show it using the timestamp of generation to create the card ID. I think if it switched to using something like a hash of the deckName and the card front, you could probably avoid the duplicate problem.
from mdanki.
@DHNishi thanks for the investigation. I made a PR over there. We'll see if it gets in!
from mdanki.
So I realized now that the update of anki-apkg-export
doesn't quite solve the problem. The issue being that existing decks don't get loaded and updated. They are just completely regenerated.
from mdanki.
Yeah, just checked it :) I believe having this is not enough as those variables are generated based on the topDeckId
which is generated based on Date.now()
anyway.
from mdanki.
🤦♂ Sorry about that. I suppose the topDeckId
should be based off of the deck name itself?
from mdanki.
Made a new PR based on some of our ideas. Tested it with mdanki
this time.
Not sure if it handles nested decks; that will require more research but it's a start.
from mdanki.
Related Issues (20)
- Getting a "writeStringToMemory is deprecated" message when building anki files HOT 2
- Re-import a same markdown converted akpg will create a duplicated note type HOT 1
- Support file-per-flashcard parsing strategy HOT 1
- #error insert images can not working HOT 3
- How about support $$ HOT 1
- anki 版本 2.1.22 (0ecc189a) does not support
- Deprecated version of Axios HOT 1
- Dont' know if this is importent for you. HOT 1
- Is automatic Import to Anki posible? HOT 1
- Add GitHub Topic: anki
- Changing the format of the Anki card? HOT 4
- Why are operators accidentally highlighted? HOT 3
- the highlight is unreadable
- Images in markdown - Path with spaces
- Joplin Port
- Is it possible to use audio file in resources ?
- Ignoring level 1 headings
- Cannot deal with large data batchly HOT 2
- "Buy Me a Coffee" button is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdanki.