Skip to content

↑↓ moveEnter openEsc close

Code block in Slack

Slack 4.47 · 45 shortcuts · checked Nov 2026 · Source: Salesforce docs

In Slack, press Cmd+Option+Shift+C (Mac), Ctrl+Alt+Shift+C (Windows, Linux).

More Slack shortcuts: formatting

ActionMacWindowsLinux
BoldCmdBCtrlBCtrlB
ItalicCmdICtrlICtrlI
StrikethroughShiftCmdXCtrlShiftXCtrlShiftX
Inline codeShiftCmdCCtrlShiftCCtrlShiftC
QuoteShiftCmd9CtrlShift9CtrlShift9
Insert a linkShiftCmdUCtrlShiftUCtrlShiftU
Numbered listShiftCmd7CtrlShift7CtrlShift7
Bulleted listShiftCmd8CtrlShift8CtrlShift8

All 45 Slack shortcuts