In this answer I added a small Powershell script. In Firefox and Chromium, that code doesn't show syntax highlighting. I'm using latest Firefox and Chromium browsers and don't want to change it.
- Here is the screenshot in PC:
But Stack Exchange Android App can highlight the syntax colors.
- Here is the screenshot in Android:
Thanks to DavidPostill who shares this meta thread link. It says to add <!-- language: lang-coffee -->
before PS script. With this tweak, that script shows color in both cases.
- My question: Why it doesn't show color (without that tweak) in PC but does show in Android?
lang-coffee
is just a workaround, just like people uselang-dos
orlang-vb
for batch files. Interesting things is that bash has its own syntax highlighting support but batch and powershell don't