When I write a question sometimes I would like to distinguish the error messages from code and also from my description of the problem.
Is there a way for text to appear in a box like code but to not be syntax highlighted?
This already exists.
You need to prepend error text with
This is documented in the edit help under
Another option is to wrap the whole error in
Just Like This
You can use a code block and disable the syntax highlighting with a syntax highlighting hint.