Use Markdown formatting in Teams

Desktop

Applies to: Microsoft Teams.

Using Markdown gives you a live preview of your styled text within your compose box as you write, and you can even undo your formatting by pressing Ctrl+Z. As well as this, many of these actions are still found if you maximise your compose box (everything except block quotes and strikethrough will still have its own button).

In this article

Available Markdown actions in Teams

Use Markdown to share code

Available Markdown actions in Teams

NameActionExample
Bold text*bold text*bold text
Italic text_italic text_italic text
Strikethrough~strikethrough~Markdown strikethrough text
Numbered list<number> Item one1. 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 textHeader text

Use Markdown to share code

You can structure and share your code on Teams.

  • To append 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 apply a multi-line block of code, preface your text with “` and then paste it into your compose box.

You’ll receive a live preview of your code, and you can undo any formatting by tapping Ctrl+Z.

Leave a Reply

%d bloggers like this: