Use Markdown formatting
With Markdown, you get a live preview of your formatted text inside your compose box as you type, and you can always undo your formatting by pressing Ctrl+Z. Also, most of these actions are still available if you expand your compose box (everything except block quotes and strikethrough will still have its own button).
Available Markdown actions in Teams
<number> Item one
1. Item one
* Item one
· Item one
Here's a link.
Multi-line code block
Inline block of code
Use Markdown to share code
You can format and share your code on Teams.
To add an inline block of code, start and end the text with a back tick (` ), which is located next to the 1 on your keyboard.
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.
Edit or delete a sent message
Mistakes sometimes happen. Fortunately, you can edit or delete the messages sent in Teams.
Edit a sent message
You can edit any message that you have sent to a chat or channel. Go to the message and select More options > Edit. Make changes to your message, then press Enter to save the update.
There's no limit to how many times you can make changes to a sent message.
Delete a sent message
If you need to backtrack and delete something you just sent, go to the message and select More options > Delete.
If you haven't sent the message yet, select Expand to expand the box and then select Delete .
Undo a deleted message
Go to the deleted message and select Undo.
Create, edit, or delete a contact group
Organize your contacts into groups to find them more easily. The groups are available on any device, but you can only manage them from the desktop or web app.
Create a group
Click Chat , click the Contacts tab, and at the bottom of the tab, click Create a new contact group. Name your group and click Create. You can always rename or delete your group later.
Add people to a contact group
Click Chat , click Contacts, and then click More options beside the group’s name. Click Add a contact to this group, type the name of a team member, and then click Add.
Rename a contact group
Click Chat , click Contacts, and then click More options beside the group’s name. Click Rename this group. Type a new name and click Save.
Note: You can't change the name of the Favorites group.
Delete a contact group
Click Chat , click Contacts, and then click More options beside the group’s name. Click Delete this group.
Remove someone from a contact group
Click Chat , click Contacts, click More options beside the person’s name, and then click Remove from this group.
Translate a message
If you receive a message in another language, just go to the top of the message and select More options > Translate to get an instant translation of the message into the language you've set for Teams.
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
To send a code snippet in a chat or channel message, first click Format below the compose box, then select Code snippet in the format bar. This opens a dialog box, where you can enter your code as well as a title for the snippet. Select the language you want to use, and choose whether you want your text to wrap.
Syntax highlighting and auto-indentation help you to write your code the way you want. When you send your snippet, it’s included in the message as a card, and the recipient can view it inline with the syntax highlighting intact.
If you want to edit your code snippet after you’ve sent it, select More options > Edit on your message, then Edit again on the snippet card.