Dear Shot511,
it should work without any issues. The shortcode is replaced by a <pre>
tag which contains your RAW code. On the Browser, the EnlighterJS Processor sets this container to invisible and inserts the highlighted code as <div>
container above the <pre>
container. Working Exmaple
This means the code around the shortcode will not be altered by the plugin – BUT in case you use the legacy-shortcode-processor instead of the Enlighter’s one, you have to take care of all special chars inside the [cpp]
block by yourself – otherwise some of the WordPress HTML filters may alter/merge the code
best regards, Andi