Insert code block in Microsoft Teams
ComposeWindowsCtrl+Shift+BCtrlShiftB
MacShift+Cmd+B⇧⌘B
On Windows, press Ctrl + Shift + B. On Mac, press Shift + Cmd + B.
Ask your agent
Prompt
In Microsoft Teams, the shortcut to "Insert code block" is Ctrl+Shift+B on Windows and Shift+Cmd+B on Mac. Check whether anything in my setup overrides it, and if I want a different key, change the binding for me.
Paste into Claude Code and it will do the rest.
Related Microsoft Teams shortcuts
- Insert inline codeCtrl+Shift+CCtrlShiftC
- Insert linkCtrl+KCtrlK
- Expand compose boxCtrl+Shift+XCtrlShiftX
- Send message from expanded composeCtrl+EnterCtrl↵
- Attach fileAlt+Shift+OAltShiftO
- Start new lineShift+EnterShift↵
- Apply boldCtrl+BCtrlB
- Apply italicCtrl+ICtrlI
Questions
On Windows, press Ctrl + Shift + B. On Mac, press Shift + Cmd + B.