View Single Post
Old 10-31-2026, 11:55 PM   #3
Siggy15
Member
Siggy15 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2026
Device: Foliate/Linux
Quote:
Originally Posted by KevinH View Post
Simply add something unique to each entry itself and the use Sigil search and replace to add the proper css class.
That would self-destruct the first time you use it.

Can't use hidden html, Sigil strips that. Don't want to use something that will show. Even if you use title tags, it will still show.

At best, that is a clumsy solution that is really ugly for the user. What I proposed would be elegant and easy for the user, There is a better way of doing it, with separate classes:

sigil_index_i
sigil_index_b
sigil_index_u

that would be used together with sigil_index_marker:

<span class="sigil_index_marker sigil_index_i">Homo sapiens</span>

That would give the user a lot of control in a way that is simple and permanent. And it would be backward compatible with older books.
Siggy15 is offline   Reply With Quote