Skip to main content

All Questions

4 votes
1 answer
58 views

VBA syntax highlighting

I recently posted two answers that contained VBA code. In one of them, the syntax is highlighted and in the other one, it isn't. Can anybody tell me why that is? I'd like it to be highlighted in both. ...
andrewb's user avatar
  • 429
7 votes
1 answer
277 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
  • 8,176
4 votes
0 answers
63 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
  • 11.3k
5 votes
1 answer
101 views

Why is syntax highlighting different when added via tag or via <!-- language: lang-XXX -->

Take this answer where the tag VBA is used. The system recognizes the tag and automatically turns on syntax highlighting. So far so good. Today I answered another question where no syntax ...
nixda's user avatar
  • 27.4k
0 votes
0 answers
41 views

Why isn't shell syntax highlighting working? [duplicate]

I've been all over Meta Stack Overflow and the help pages, and frankly I'm just tired of looking now. I've tried <!-- language: shell --> and <!-- language: sh -->, but I can't seem to get ...
Blacklight Shining's user avatar