Syntax highlighters - ftsrg/cheat-sheets GitHub Wiki

If you are working on a PowerPoint presentation, first copy the highlighted code to Word and copy that piece of text to PowerPoint. This way, it will preserve both its formatting and whitespaces.