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:
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Background While our Hipchat server environment was reliable and performing well, as a significant and growing part of our business, the need to leverage the benefits of Hipchat Data Center&nbs...
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