Hello Soerendip,
My name is Jackson and thank you for your question.
I sincerely apologize for the issue you experience with your Teams, I am a user myself and understand how frustrating this is.
" I pulled the following information from https://support.microsoft.com/office/4d10bd65-55e2-4b2d-a1f3-2bebdcd2c772 :
You can format and share your code on Teams;
- To add an inline block of code, start and end the text with a backtick (` ) key, which is located next to the 1 on your keyboard, followed by a space. However, some users may have difficulty accessing the backtick key on their keyboard. In that case, you can use one of the following alternate keys to start an inline code block:
Shift+`+Space
Shift+Alt+´
Use the keyboard manager Ukelele.
After you press one of these keys, you can type your code and then press the same key again to end the code block.
- To add a multi-line block of code, preface your text with ``` and then paste it into your compose box.
You'll get a live preview of your code, and you can undo any formatting by hitting Ctrl+Z. ""
For now, you can view but not generate Markdown-formatted messages on your mobile device, so if you want to collaborate on code, stick to the desktop or web app.
Warm regards,
Jackson E.