View Single Post
Old 04-04-2026, 01:16 PM   #4
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,811
Karma: 9501034
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by ReaderMoa View Post
I'm quite a fan of annotations but the fact that they don't really stay inside EPUB files sort of bugs me.

So how viable and safe is it to simply edit the CSS of the EPUB itself, through the Calibre EPUB Editor for instance, using a class like

```
.highlightgreen {
background-color: lightgreen;
}
```

Do you think it would be safe and is there a plugin that supports it? The methods most people mention don't involve editing the EPUB directly but using external metadata
Jumping between a kindle, libra, iBooks and pc when reading really destroyed any hope of reliable highlighting. So I use a similar method using the <mark> tag

<mark>
This is some text I need to highlight/annotate</mark>

My CSS
mark {
background-color: yellow;
}


https://developer.mozilla.org/en-US/.../Elements/mark

Last edited by Karellen; 04-04-2026 at 01:48 PM.
Karellen is offline   Reply With Quote