Shortcut

GitHub Inline Code Shortcut

The GitHub shortcut to inline code is Ctrl + E on Windows. On Mac, press Cmd + E.

Quick Answer

Windows
Ctrl+E
Mac
Cmd+E
Web
Not confirmed yet
GitHubShortcut

Inline Code

Windows
Ctrl+E

Wraps the selected text in a Markdown code span.

Learn More

How to inline code in GitHub

  1. Open GitHub and go to where you want to inline code.
  2. Press Ctrl + E on Windows or Cmd + E on Mac.

GitHub Inline Code Shortcut for Windows

Press Ctrl + E.

GitHub Inline Code Shortcut for Mac

Press Cmd + E.

GitHub Inline Code Shortcut for GitHub Web

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

Related Keyboard Shortcuts

Frequently asked questions

What is the GitHub inline code shortcut?

On Windows, press Ctrl + E. On a Mac, press Cmd + E.

Is there a Mac shortcut to inline code in GitHub?

Yes: Cmd + E.

Does it work in GitHub for the web?

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

Official source · How we verify