How to post code bocks into the forum

I’m probably missing something obvious, but I’ve just spent 30 minutes trying to figure this out. How are people posting the neat, pink-bar-down the left, properly formatted code snippets into their posts?

Scroll here to “Syntax highlighting”.

write “cpp” instead “css”, and you have a block of code with c++ syntax highlight

Thanks! Might be a useful item for the forum FAQ…

aslso the default in the forum is set already to cpp so you just need the backticks unless you want to write a different language