Demoing or teaching code is difficult. A PowerShell demo traditionally use the old PowerShell ISE, copy/paste and relying on PSReadLine to highlight syntax, or switching between something like VSCode ...
I originally raised this issue in the vsc repo but it was closed as deemed to be a PS extension issue so re-raising here. Visual Studio Code's syntax highlighting for PowerShell appears to be broken ...