In questions/answers we type keyboard keys using <kbd>KEY</kbd> which renders KEY. It does not work in comments. How can one type keyboard keys in comments?
1 Answer
Comments provide only a limited amount of markdown formatting, including italic, bold, code (via single/double backticks), magic/shorthand links (for sites [tex.se] or tag [tag:tag] or...), regular links (like [text](URL)). This excludes the use of HTML tags (like <strong>bold</strong>) and the shorthand image inclusion format  commonly used in posts.
So there's not HTML <kbd>...</kbd> keyboard tag formatting supported.
Reference: Markdown help - comment formatting
- I just tried having a link in my previous comment, on the main site, to no avail. I try again: [here](osti.gov/biblio/5384184).some_other_in_the_crowd– some_other_in_the_crowd2023-08-22 14:48:29 +00:00Commented Aug 22, 2023 at 14:48
- @some_other_in_the_crowd: Specify a valid URL with the
https://prefix.2023-08-24 00:29:38 +00:00Commented Aug 24, 2023 at 0:29
code formattingto type keyboard keys in comments, because<kbd>is not available. Or just no formatting at all, or italics or bold. ClickHelpnext to the comment box to check which formatting is available for comments and how to use it (the only other thing that works besides the formatting I already mentioned is link formatting).