bell notificationshomepageloginedit profileclubsdmBox

10% popularity   0 Reactions

This is a follow-up to

Programming Sigil for importing annotations

The answer there suggests to read the Sigil Plugin Framework documentation. Unfortunately, I could not figure out how to do the following.

My workflow would be to search for the annotated string in the epub and enclose it in span tags:

smart description of a topic

would become

<span class="highlight">smart description of a topic<>

and I would include

span.highlight { background: #ccc }

in the CSS part of the ebook.

What parts of the BookContainer class should I use to implement this and how?


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

Login to follow story

More posts by @Angie

0 Comments

Sorted by latest first Latest Oldest Best

 

Back to top