Quote:
Originally Posted by rtiangha
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"
|
Yes, that's correct, but note that replace only replaces inside the documents, not any external stylesheets.