Skip to the main content

GitLab

Toggle the Markdown preview

CmdShiftP

Mac Web app GitLab web interface

Practice this

Press Ctrl + Shift + P to toggle the Markdown preview in GitLab. On a Mac, press Cmd + Shift + P instead. It works in the browser version.

Where it works: Text field with Write and Preview

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Web app CmdShiftP
Windows Web app CtrlShiftP

Where this comes from

Keyboard shortcuts - GitLab Docs

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction