Quote:
Originally Posted by geek1011
Yes, that should work, but note that you can repeat the CSS argument multiple times with a single string each, like "--css 'css1' --css 'css2'".
|
Ah, that's more readable. Thanks!
One last dumb question about --replace. Say I want to replace every instance of 'monospace' in the css with something like '"Courier Prime", monospace' instead (to work around the monospace font issue in kepubs). I know the argument is a string, but how do I escape the " characters in the string? Should I be using \ characters? Or something else?
Is this correct?
Code:
--replace "monospace|\"Courier Prime\", monospace"
I noticed that kepubify ate the " characters in my previous question (i.e. "kern" and "liga" became kern and liga in the output) so how do I preserve the " characters?