Slack keyboard shortcut
Press Ctrl + Shift + C to code block.
Practice this shortcut All Slack shortcuts