Markdown cheat sheet: Microsoft edition
Plain text with a few symbols. Save as .md. Our standard is GitHub Flavored Markdown.
Where to write it
- Copilot: prompt “answer in Markdown” or “turn into Markdown”
- OneDrive: + Create or upload › Markdown document
- Notepad on Windows 11
- VS Code: preview with
Ctrl+Shift+V, side by side withCtrl+K V
The core: works everywhere
| You want | You type |
|---|---|
| Heading | # Title and ## Section |
| Paragraph | A blank line between |
| Bold | **bold** |
| Italic | *italic* or _italic_ |
| Bullets | - item |
| Numbers | 1. item |
| Link | [text](url) |
| Image |  |
| Code | `code` |
| Code block | ```python … ``` |
| Quote | > text |
| Divider | --- after a blank line |
Level up: in files, not chat
| You want | You type |
|---|---|
| Task list | - [ ] to do, - [x] done |
| Table | | A | B | then |---|---| |
| Strikethrough | ~~old~~ |
| Diagram | ```mermaid code block |
Teams is not Markdown
| You type | In Markdown | In Teams chat |
|---|---|---|
*text* | italic | bold |
_text_ | italic | italic |
`text` | code | code |
| A table | a table | plain text |
In Teams chats, stick to bold, italic, and code. (verify) every row in Teams.
Gotchas
- No blank line, no new paragraph. Two lines in a row join into one.
- Nest a list by indenting two spaces.
- Put a space after the symbol:
# Title, not#Title. - Show a symbol as-is with a backslash:
\*not italic\*.
VS Code extensions
- markdownlint checks your style
- Marp for VS Code makes slides from Markdown
- Markdown Preview Mermaid Support draws diagrams