Platform-Aware Rendering
The platform= parameter translates keys for macOS or Windows.
macOS Rendering
On macOS, modifier keys render as symbols:
| Generic | macOS |
|---|---|
| Ctrl | ⌃+C |
| Cmd | ⌘+S |
| Alt/Option | ⌥+F |
| Shift | ⇧+A |
Command palette on macOS: ⌘+⇧+P
Windows Rendering
On Windows, macOS-specific keys are translated:
| macOS | Windows |
|---|---|
| Cmd+S | Ctrl+S |
| Option+F | Alt+F |
Default (No Platform)
Without platform=, keys are rendered as-is:
Ctrl+Shift+P