You should be able to do that using native copy and paste into a PowerPoint slide, if you are copying from an app that uses rich text or other copying that includes the formatting. Use Notepad++ or Visual Studio Code to do the copy where it has the syntax highlighting and see if the paste works from there.
How to: C# source with syntax highlighting on PowerPoint slides?
I would like to show some C# source code in a PowerPoint presentation. But how can I copy the code ***including the syntax highlighting*** onto the slides? I could make screenshots, but that has some drawbacks (ugly, font size, unmaintainable). Do you have some ideas?
Follow
1
Add comment
More
Report
1 Expert Answer
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.