I have a code snippet for which a Paragraph style is applied, by default the font color used in the Paragraph style is Black.
But the problem is the code snippet has various colors used in the different lines of Codes. When I clear the Overrides of the Paragraph style the colors are lost and the default color Black is visible to every line of the code. I want to retain the colors used in the code snippet.
Is there any script which can convert the swatches to Character Styles in Indesign used in the Code snippets.