Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
Could you note use the Text Core Component, create a "Code" paragraph style in the Policy (that wraps with the <code>), and then have your favorite JS-based code highlighter target `.cmp_text code` ?