At university I did most of my slides with LaTeX beamer, nowadays I prefer to use reveal.js - both come with a plugin for syntax highlighting, so i basically copy and paste the code into the slide deck and let the framework do its magic.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
At university I did most of my slides with LaTeX beamer, nowadays I prefer to use reveal.js - both come with a plugin for syntax highlighting, so i basically copy and paste the code into the slide deck and let the framework do its magic.