Commit 941eb923 authored by Craig Norris's avatar Craig Norris

Merge branch 'selhorn-keystrokes' into 'master'

Docs style: How to format keystrokes

Closes #241769

See merge request gitlab-org/gitlab!42285
parents 006d8cd3 c962319c
...@@ -626,6 +626,18 @@ For example: ...@@ -626,6 +626,18 @@ For example:
cp <your_source_directory> <your_destination_directory> cp <your_source_directory> <your_destination_directory>
``` ```
### Keyboard commands
Use the HTML `<kbd>` tag when referring to keystroke presses. For example:
```plaintext
To stop the command, press <kbd>Ctrl</kbd>+<kbd>C</kbd>.
```
When the docs are generated, the output is:
To stop the command, press <kbd>Ctrl</kbd>+<kbd>C</kbd>.
## Lists ## Lists
- Always start list items with a capital letter, unless they are parameters or - Always start list items with a capital letter, unless they are parameters or
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment