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.
Markdown-formatted messages can only be viewed but not generated on a mobile device, so use the desktop or web app if you want to collaborate on code.
Frequently Asked Questions
Does Teams chat use Markdown?
In Teams, you can format your documents using XML (HTML) and Markdown formatting tags. Table formatting is not available for text-only messages at this time.
Does Microsoft Word support Markdown?
Using Markdown in Microsoft 365 allows you to format text simply and quickly using punctuation marks. A Markdown web part is available in SharePoint and Microsoft Teams. Power Automate approvals and Adaptive Cards both support Markdown.