Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
API Reference
Hotkeys API Reference
Hotkey Sequence API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Normalization & format API Reference
Normalization & format API Reference

formatWithLabels

Function: formatWithLabels()

ts
function formatWithLabels(hotkey, options): string;
function formatWithLabels(hotkey, options): string;

Defined in: format.ts:137

Parameters

hotkey

RegisterableHotkey

options

Omit<FormatDisplayOptions, "useSymbols"> = {}

Returns

string

Deprecated

Use formatForDisplay instead with useSymbols: false option.