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~
Markdown strikethrough text
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.

See also  How do I find a photo I sent or received in Skype?
See also  VDI backwards compatibility in Zoom App
See also  Customer Context Gadget: Add a Comment in webex
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

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.
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.