Editor Shortcuts
The moss editor supports keyboard shortcuts for the most common inline formatting actions. These are the same actions available in the floating toolbar that appears when you select text.
Mac
| Action | Shortcut |
|---|---|
| Bold | Cmd+B |
| Italic | Cmd+I |
| Strikethrough | Cmd+Shift+S |
| Inline code | Cmd+Shift+` |
| Link | Cmd+K |
Windows and Linux
| Action | Shortcut |
|---|---|
| Bold | Ctrl+B |
| Italic | Ctrl+I |
| Strikethrough | Ctrl+Shift+S |
| Inline code | Ctrl+Shift+` |
| Link | Ctrl+K |
Smart toggle
Using a shortcut on text that is already formatted removes the formatting. For example, selecting **bold text** and pressing Cmd+B unwraps it back to bold text. This works the same way for all five actions.
Toolbar
The same five actions are available as buttons in the floating toolbar that appears above your cursor when you select text. The keyboard shortcuts and the toolbar buttons behave identically.