Chats | Advanced

Chats | Advanced

Use Markdown formatting


With Markdown, you get a live preview of your formatted text inside the compose box as you type, and you can undo your formatting at any time by pressing Ctrl+Z (Cmd+Z on Mac). Most basic formatting actions are still available if you expand your compose box. Note that Teams supports a subset of Markdown syntax; some elements, like headers and block quotes, may not render as expected.

              

Available Markdown actions in Teams                                                                                                                                                                                                                                                                                                                                                                                                                                   

Name

Action

Example

Bold text

*bold text*

                      bold text                    

Italic text

_italic text_

                      italic text                    

Strikethrough

~strikethrough~

Markdown strikethrough text

Numbered list

<number> Item one

1. Item one
2. Item two

Unordered list

* Item one
OR
- Item one

                      · Item one
· Item two

Hyperlink

[Text](URL)

                      Here's a link.

Multi-line code block

\ncode block\n

                \nfunction example() { return true; }\n

Inline block of code

`[code text]`

                

Header

##Header text

                      Header text                    

              

Use Markdown to share code

You can format and share code snippets in Teams.

  1. To add an inline block of code, use backticks (`) around your text.
  2. For multi-line blocks, use triple backticks (```) before and after your code.
  3. You get a live preview, and you can undo changes with Ctrl+Z.


Edit or delete a sent message


Mistakes sometimes happen. Fortunately, you can edit or delete the messages sent in Teams.

          

Edit a sent message

  1. Go to the message, click More options (⋯) > Edit.

  2. Make changes and press Enter to save. You can edit as many times as needed.

Delete a sent message

  1. Click More options (⋯) > Delete.

  2. If the message is not sent yet, expand the box and click Delete.

          

Undo a deleted message

  1. Click Undo immediately after deleting to restore the message.



Create, edit, or delete a contact group 


Organize contacts into groups to find them more easily. Available on any device but managed from desktop or web app.

Create a group

  1. Click Chat > Contacts > Create a new contact group.

  2. Name the group and click Create.

Add people to a contact group

  1. Click More options (⋯) > Add a contact to this group.

  2. Type the name of a team member and click Add.

Rename a contact group

  1. Click More options (⋯) > Rename this group, type new name, and click Save.

        Note: You can't change the name of the Favorites group.

Delete a contact group

  1. Click More options (⋯) > Delete this group.

Remove someone from a contact group

  1. Click More options (⋯) > Remove from this group.

Translate a message

  1. Click More options (⋯) > Translate to convert a message into your preferred language.

        Note: If you don't see this option, talk to your IT admin. They might need to turn it on.


Send code snippets in a message

  1. Click Format > Code snippet below the compose box.

  2. Enter your code and give it a title.

  3. Select language and wrapping options.

  4. Syntax highlighting and auto-indentation help display code properly.

  5. To edit a snippet after sending, click More options (⋯) > Edit on the snippet card.