How can we make Microsoft Teams better?

Add text after multi-line code block

When you use three backticks (`) to get into the multi-line code block composer, there is no way to write text *after* your code block. Easy workaround is to send the message & reply with the rest of what you've got to say, so not a huge deal. But I've had a couple of times now where I've wanted a few lines of code, text, a few more lines of code, etc

2 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Lisa R shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Jean-François Corbett commented  ·   ·  Flag as inappropriate

    You can back to text:

    ```
    Some code here
    More code # press Enter twice

    Then you're out of code mode.
    The upshot is that you can't directly add a blank line in your code block (by pressing Enter), because it gets interpreted as "get out of code mode". If you want to add a blank line, you have to copy-paste it in.

Feedback and Knowledge Base