Styling embed code syntax in WordPress post [closed]

WordPress does this natively. Either use a “code” block in Gutenberg or just add the code with <pre> in front and end with </pre>. No extra plugins needed.