1

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 topic

would 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?

askedJun 18, 2018 at 14:01
Gergely's user avatar
1
  • 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.CommentedJun 18, 2018 at 19:16

0

Know someone who can answer? Share a link to thisquestion viaemail,Twitter, orFacebook.

Your Answer

Sign up orlog in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

By clicking “Post Your Answer”, you agree to ourterms of service and acknowledge you have read ourprivacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.