It would be helpful to be able to customize the format of the imported highlights, for example, to append or prepend page numbers with defined separators.
The Calibre Annotations plugin has code that may be useful: https://www.mobileread.com/forums/showthread.php?t=241206
Judging from what is written there under “Modifying the appearance of imported annotations”, their system looks quite elaborate. I’m thinking a bit simpler as a first step: a text field where you can add placeholders like
{{note}}
,{{time}}
and{{page}}
in any order and with any separators you’d like. You should even be able to wrap them in HTML tags withstyle
attributes, but that’s something I’d have to test. How does that sound?
That would be great, thanks.
Moved to GitHub: https://github.com/harmtemolder/koreader-calibre-plugin/issues/1