debanjandhar12 / logseq-anki-sync

An logseq to anki syncing plugin with superpowers - image occlusion, card direction, incremental cards, and a lot more.
GNU Affero General Public License v3.0
446 stars 31 forks source link

Question: how to reproduce the hash of a note #262

Closed thiswillbeyourgithub closed 5 months ago

thiswillbeyourgithub commented 6 months ago

Hi,

Omnivore is a FOSS app that allows to read articles and PDF and highlight them. They have a great addon to import the highlights automatically to anki.

I'm coding something to turn the article highlights straight to anki cards using my LogseqMarkdownParser to create cloze blocks that will be send by your addon straight to anki. (Btw if anyone is interested the WIP code is here)

My issue is that I will inevitably change my code from time to time and this will modify the logseq page and blocks containing the flashcards. But given that the highlights themselves don't change I need to avoid at all cost having your addon think that the block was deleted as that would reset the anki reviews!

So my question is : what do I need to keep constant in my cloze blocks to make sure your addon does not think the card was deleted?

Thank you very much!

thiswillbeyourgithub commented 5 months ago

So my question is : what do I need to keep constant in my cloze blocks to make sure your addon does not think the card was deleted?

Up :) if you find the time

debanjandhar12 commented 5 months ago

If you have any further questions, feel free to ask.

thiswillbeyourgithub commented 5 months ago

Thank you very much. I think that's enough for me.