As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [syntax-highlighting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
21 votes
1 answer
244 views

Make syntax highlighting possible to enable with prettify language codes

On Super User syntax highlighting is turned off. But there are questions on Super User where syntax highlighting can be helpful. Therefore I suggest that syntax highlighting is made possible to enable ...
N.N.'s user avatar
  • 1,381
16 votes
1 answer
197 views

Make "code / command"-background more visible

I write code or commands using "backticks". But on SuperUser, the background doesn't have much visual contrast, so if I write multiple commands separated with comma or a single word, it's hard to ...
Jonas's user avatar
  • 26.6k
7 votes
1 answer
178 views

Powershell and Batch syntax highlighting not working logically

Syntax highlighting for both Powershell and Batch works if specified manually in an HTML comment, but not via a code block: Doesn't Work: (code block) ```bat ```powershell Works: (HTML comment) &...
JW0914's user avatar
  • 1
4 votes
0 answers
57 views

Why can't Superuser highlight Powershell syntax but SE Android App can?

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. ...
Biswapriyo's user avatar
  • 10.7k