How to Use Markdown formatting in Microsoft Teams
You can always undo any formatting you have done by pressing Ctrl+Z when you use Markdown.
When you expand your compose box, most of these actions will still be accessible (all but block quotes and strikethrough will have their own buttons).
Available Markdown actions in Teams
Name | Action | Example |
---|---|---|
Bold text | *bold text* | Bold text |
Italic text | _italic text_ | Italic text |
Strikethrough | ~strikethrough~ | |
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 | “`[code block] | |
Inline block of code | ”[code text]” | |
Header | ##Header text | Header text |
Use Markdown to share code
Your code can be formatted and shared 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.
Ctrl+Z will undo any formatting you’ve done, and you’ll see a live preview of your code.