Have you tried using the slash command /code? That should maintain all formatting of the text that follows.
And just in case you haven't seen it, here's a good breakdown of all the available formatting commands and options for HipChat:
Hope that helps!
I do know about the /code trick. However, how do I get back to text so I can mix text and code?
To me it feels like the /code thing is reinventing the wheel in an inferior way as far as code and other markup is concerned. I hate to say it, but you are behind the curve on this one.
Sadly I'm not affiliated with Atlassian directly, so I can't really help you get this implemented. I do agree with you that this functionality would be super useful to a lot of people.
If you'd like to submit a feature suggestion, (which I recommend), you may do so here:
...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs