Format multi-color text in Pages on Mac
I write materials with a programming code like this:
It has certain colors that I would like to keep in the material.
I paste code from my IDE and it needs to be formated before it becomes as shown.
When pasting, the colors are saved.
For every pasted code it needs to adjust:
- font size
- spacing between lines
If create the paragraph style or character style and apply it to the code segment, the code colors will change.
Is there a way to save the necessary formatting options as some preset so that it doesn't affect the color of the code after applying?
Mac mini