Do you know all of the tricks and shortcuts Upwork Messages has to offer? Whether you use Messages to exchange simple instructions and status reports, or frequently chat with your team members, these shortcuts can help you communicate more clearly and efficiently.
The keyboard shortcuts are working as designed. If you want to display your message in a block code, you can check this screenshot for reference. I would like to note that a single line of text can't be considered as a code block and it will be displayed differently.