This is a follow-up to
Programming Sigil for importing annotations
The answer there suggests to read theSigil 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 inspan tags:
smart description of a topicwould become
<span>smart description of a topic<>and I would include
span.highlight { background: #ccc }in the CSS part of the ebook.
What parts of theBookContainer class should I use to implement this and how?
- You might want to post your question in the officialSigil Plugin Development thread. You also might want to download and run theofficial test plugin. It contains all the code fragments that you'll need for your plugin.user4665– user46652018-06-18 19:16:28 +00:00CommentedJun 18, 2018 at 19:16