How to embed programming source code in Powerpoint slide and keep code highlighting

microsoft-powerpointsource code

Is it possible to embed programming source code to Powerpoint slide, and keep code highlighting/coloring?

Best Answer

After pasting, a small "Paste Options" icon appears below the pasted text.

Click this icon and choose "Keep Source Formatting" :

enter image description here

Related Question