Skip to content

Commit

Permalink
improve instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Oct 11, 2023
1 parent d2e1f58 commit 876c6f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/pages/experiments/docs/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ https://spec.commonmark.org/0.30/#links

## kbd tag

Make sure to include the `class="key"` in each individual `kbd` element.
That's because when referring to two keys that should be pressed together-for example, <kbd><kbd class="key">Ctrl</kbd>+<kbd class="key">N</kbd></kbd>-all the individual `kbd` elements should be wrapped by a parent `kbd`, and we don't add styles to just the tag.
Make sure to include the `class="key"` declaration in each individual `kbd` element.

That's because when referring to two keys that should be pressed together-for example, <kbd><kbd class="key">Ctrl</kbd>+<kbd class="key">N</kbd></kbd>-the `kbd` elements are wrapped by a parent `kbd`, and we don't add styles to just the tag.

0 comments on commit 876c6f5

Please sign in to comment.