I don’t know if this is possible in the Unity Discussions framework, but it would be helpful if code pasted in the Preformatted Text blocks contained line numbers similar to the normal forums.
Line numbers make it easier to refer to sections of the code and to find the line numbers that contain errors when someone posts an error message.