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.
Tip
These actions are also available by expanding your compose box.
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 |
| BlockQuote | > |
|
Use Markdown to share inline code
Markdown with inline code lets you highlight specific code snippets in a paragraph. This makes it easier to find and understand the code in the paragraph.
To add an inline block of code (monospace), start and end the text with a backtick (`) key. This is located next to the 1 on your keyboard, followed by a space. You can also use one of the following alternate keys to start an inline code block:
- Shift+`+Space
- Shift+Alt+´
- The keyboard manager, Ukelele.
After selecting one of these keys, type your code and then press the same key again to end the code block.
Use Markdown to share a block of code
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. To learn more, read Use code blocks in Microsoft Teams.