Wiki.js

Keyboard Shortcut

A keyboard shortcut in a line of text, drawn as keys for the reader's own keyboard.

Description

A keyboard shortcut in a line of text, drawn as keys for the reader's own keyboard.

Demo

This Ctrl+Alt+S keyboard shortcut will show in your system own keyboard layout, while Ctrl+Alt+S will always show the Mac layout and Ctrl+Alt+S the Windows/Linux PC layout.

Parameters

Parameter Default Value Possible Values
platform auto auto (the reader's platform), mac, pc, or none (as written)

Default Code

:block-kbd[Ctrl+S]