HotkeyManager.printHotkeyForCommand method
HotkeyManager › printHotkeyForCommand
Unofficial
Pretty-print hotkey of a command.Signature:
printHotkeyForCommand(commandId: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| commandId | string | {@link obsidian#Command} ID to print hotkey for. |
Returns: string — The formatted hotkey string.