Quote:
Originally Posted by kovidgoyal
The viewer does store highlights in th epub files, unless you told it not to in the viewer preferences. The problem is you need a reader on the mobile device that nderstands those stored highlights. Your best bet is the calibre content server that allows you to read in the browser itself on any device and syncs between all instances automatically.
|
Thank you for your answer. you are genius.
But the gist of my question is not "to see the same highlights on any device".
It is what I want to "change the file itself" so that I can also read annotations offline.
As you said, all viewers store user-generated annotations in separate storage.
But I don't know where it is. And I don't know how to combine it with my own epub file.
Imagine that the following sentence is my epub file. And [ ] is the highlight.
All children, [except one], grow up
Right click on the ebook in the caliber home, view -> Annotation browse->export all selected menu exists.
The function allows me to save the highlights I marked in the viewer in plaintext, markdown format. But this is not what I wanted. Because the function stores only [ exept one ].
Ultimately, I want to be able to change the html (CSS) code of my own epub file.
For example,
<p>All children, except one, grow up</p>
→ <p>All children, <span style="background-color:#FF00DD; color:#fff;">except one</span>, grow up</p>
Did you understand? As mentioned earlier, it is too cumbersome to designate one by one background color at sigil. Find a function (or plug-in) that can automatically apply the highlights displayed in the viewer to the epub. If possible in a pc or android environment, it is okay not necessarily calibre.