Javascript – Highlight JS code inside XML element or inside CDATA in VS code
I want to have JS syntax highlighting inside certain XML elements. E.g. <Module Name="Main"> <![CDATA[ var obj = {}; obj.car = { Name: 'car', HP: 135}; obj.drive = function(car){...} ]]></Module> This currently shows up as Is there any extension that…