Edo78/obsidian-koreader-sync

The bookmark number added to the note name isn't fixed

Closed this issue · 0 comments

Edo78 commented

It looks like the bookmark number used as a suffix for the name of the note (eg. (6)) isn't fixed but new notes aren't added at the end but always as 1 renumbering all the other note for the same book.

This is a pretty annoying bug because if I add a note and resync all the existing notes are gonna be duplicated with a different name.

As the text itself can't be rely to be unique (someone can just write the same text eg. todo in multiple notes) i can try to create a unique identifier with the position of the highlighted text.