Quote:
Originally Posted by Vanguard3000
I couldn't find this in search, but I'm basically wondering if there's a way to basically do the inverse of the "Delete unused stylesheet selectors" function.
I'm converting over a detailed game guide that originally consisted of several hundred Google docs, which I had downloaded as html and imported to Sigil.
[...]
I could then do an actual "Delete unused stylesheet selectors" to get rid of the DELETEME classes.
|
You would want to do a:
- Calibre EPUB->EPUB conversion
This would merge all dozens/hundreds of CSS files into unique classes.
From there, you would use the "surgical" approach I described in:
this would let you find/merge all the "duplicate" classes in sucessive conversions.
Since 2021, KevinH has also added that cleanup functionality into Sigil too! It's called the "CSSToolbox", and I described it in more detail here: