Hello, I am aware that in a code block, I can specify the language to highlight after the first three backticks.
What is the best practice to do this with simple bash commands and scripts? I am brand new to Linux and I’m copying lots of commands into my notes to learn them.
I have tried bash, shell, and console, and they all produce the same highlights.
What confuses me is that the highlighting colors seem random: numbers are purple, “sudo” is yellow but the rest of the command will be in gray, other words like “wait” and “command” will also be yellow, the word “for” is turquoise, etc.
Is there a neater way to highlight simple console commands? Or am I misunderstanding why the color choices are this way?
Thanks!