How can I get some proper syntax highlighting when posting e.g. powershell code in my questions?

I had a look at How to format your text but apparently coudn't find the answer. I usually mark the code and hit CTRL+k on the keyboard.

1 Answer 1


As far as I understand it, there is not yet support for powershell in the JavaScript library used by SE to implement this.

See the meta page about the general feature and this discussion about Powershell in particular.

  • I usually just use lang-cs when doing PS. It's close enough. Nov 18, 2014 at 19:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .