How do I format any system commands or system messages correctly as in
sudo apt-get update
I see that kind of codes with a grey background and I understood earlier that such things have to be formatted alike. However, I can't find how to make them appear like that. Could somebody tell me how to manage? "Ctrl+K" does not work.
this
(as it's explained in the answer linked by muru)? Or do you mean "how do I add syntax highlighting to code blocks"?