Skip to content

Use <kbd> for keyboard shortcuts in readme#986

Open
FloEdelmann wants to merge 3 commits intoMitMaro:masterfrom
FloEdelmann:patch-1
Open

Use <kbd> for keyboard shortcuts in readme#986
FloEdelmann wants to merge 3 commits intoMitMaro:masterfrom
FloEdelmann:patch-1

Conversation

@FloEdelmann
Copy link
Copy Markdown

From https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/kbd:

The <kbd> HTML element represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device.

It is rendered with a special style on GitHub (and defaults to monospace text in browser default styles), making it a bit more fancy to look at. Additionally, it makes keyboard shortcuts consisting of two keys easier to read (e.g. Control+d instead of Control+d).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant