Shortcut

GitHub Insert a Link Shortcut

The GitHub shortcut to insert a link is Ctrl + K on Windows. On Mac, press Cmd + K.

Quick Answer

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

Insert a Link

Windows
Ctrl+K

Turns the selected text into a Markdown link.

Learn More

How to insert a link in GitHub

  1. Open GitHub and go to where you want to insert a link.
  2. Press Ctrl + K on Windows or Cmd + K on Mac.

GitHub Insert a Link Shortcut for Windows

Press Ctrl + K.

GitHub Insert a Link Shortcut for Mac

Press Cmd + K.

GitHub Insert a Link 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 insert a link shortcut?

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

Is there a Mac shortcut to insert a link in GitHub?

Yes: Cmd + K.

Does it work in GitHub for the web?

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

Official source · How we verify