# Platform-Aware Rendering

The `platform=` parameter translates keys for macOS or Windows.


# macOS Rendering

On macOS, modifier keys render as symbols:

| Generic | macOS |
|----|----|
| Ctrl | <span class="kbd gd-keys" title="Control">⌃</span>+C |
| Cmd | <span class="kbd gd-keys" title="Command">⌘</span>+S |
| Alt/Option | <span class="kbd gd-keys" title="Option">⌥</span>+F |
| Shift | <span class="kbd gd-keys" title="Shift">⇧</span>+A |

Command palette on macOS: <span class="kbd gd-keys" title="Command">⌘</span>+<span class="kbd gd-keys" title="Shift">⇧</span>+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
