Skip to content

Conversation

RemcoSmitsDev
Copy link
Owner

@RemcoSmitsDev RemcoSmitsDev commented Sep 4, 2025

Closes zed-industries#14830
Follow-up: #120

This PR adds support for the native HTML keyboard shortcut element, also called kbd tag.

Screenshot 2025-09-04 at 17 29 22

Example code:

<p>Some text <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd> some more text</p>
<p><kbd>Enter</kbd></p>
<p><kbd>Ctrl</kbd> + <kbd>Z</kbd></p>
<p><kbd><kbd>Ctrl</kbd><kbd>Z</kbd></kbd></p>

Release Notes:

  • Markdown: Added support for kbd HTML tags

Example code: ```markdown <p>Some text <kbd>Ctrl</kbd> +
<kbd>Shift</kbd> + <kbd>C</kbd> some more text</p>

<p><kbd>Enter</kbd></p> <p><kbd>Ctrl</kbd> + <kbd>Z</kbd></p> ```
Reverting this because see: zed-industries@8b8186a#r2322518759

This reverts commit 8b8186a.
@RemcoSmitsDev
Copy link
Owner Author

Note: This is a follow-up on zed-industries#37264 so that one has to be merged first.

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