Shortcut

Slack Codeblock Selected Text Shortcut

The Slack shortcut to codeblock selected text is Ctrl + Alt + Shift + C on Windows. On Mac, press Cmd + Alt + Shift + C.

Quick Answer

Windows
Ctrl+Alt+Shift+C
Mac
Cmd+Alt+Shift+C
Web
Not confirmed yet
SlackShortcut

Codeblock Selected Text

Windows
Ctrl+Alt+Shift+C

Formats the selected text as a code block.

Learn More

How to codeblock selected text in Slack

  1. Open Slack and go to where you want to codeblock selected text.
  2. Press Ctrl + Alt + Shift + C on Windows or Cmd + Alt + Shift + C on Mac.

Slack Codeblock Selected Text Shortcut for Windows

Press Ctrl + Alt + Shift + C.

Slack Codeblock Selected Text Shortcut for Mac

Press Cmd + Alt + Shift + C.

Slack Codeblock Selected Text Shortcut for Slack Web

We haven't confirmed a Slack Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Slack codeblock selected text shortcut?

On Windows, press Ctrl + Alt + Shift + C. On a Mac, press Cmd + Alt + Shift + C.

Is there a Mac shortcut to codeblock selected text in Slack?

Yes: Cmd + Alt + Shift + C.

Does it work in Slack for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify