On the main site of TeX-LaTeX-StackExchange within comments1 you can use backticks
`code` for writing code.
Seems this does not work when the piece of code has a leading sequence of spaces.
` code` within a comment1 does not work out.
How to write code which has a leading sequence of spaces within a comment1?
1Comment—the kind of short message which you can write after clicking on "Add comment".