Thank you for clarifying the updating process !
So to ease the updating process - and if I understand correctly - it would be best to make our comments e.g. without indents or bullet points as new paragraphs, to distinguish from titles, highlights, and comments (that were exported from the pdf).
I guess this also means that if we add a block reference to the end of a paragraph (^blockID), the block will not be updated? If so, that’s great.
If you want to add a “summary section” that should not be over-written, this would need to be in the “Extracted Annotation”. I can see this may not work for your use-case, so I may need to think about an alternative.
I see. For now I will put it on top of the Extracted Annotation section. But for ease of use and clarity, I would love to be able to have most of the metadata at the end of the note for example, or have the liberty to put a summary section on top of the file.
The code could perhaps skip everything that is not under the headings ## Basic Metadata, ## Extracted Annotations, ## Detailed Metadata.
E.g.
Title
Basic Metadata
Authors, year, journal
Summary
…
Extracted Notes
(sections using the color grouping feature we discussed before)
…
Detailed Metadata
…
Regarding updating the bibtex (for now we need to relaunch obsidian), perhaps you could look at the code of the citation plugin? It has a command to “refresh” bibtex and works like a charm.
Keep us posted on the next version - I am really looking forward to it. I might be able to replace mdnotes completely.