I have a similar suggestion in my recent post which would help this DT users working with individual blocks of text (see Improvements to Summarize Highlights)
The two key suggestions are i) a way to distinguish individual highlights and associated notes (I’ve suggested a double blank line) and ii) the inclusion of the page link for each text block rather than only in cases where the page changes number.
My understanding is that attribute runs in Apple Script parses the text steam into chunks of text with the same properties e.g. highlighted, URLs etc… which can then be used to reshape the file. What would happen with two paragraphs of text (say highlighted text from a PDF) back to back within the summary file. Are these treaded as one chunk or two ?