What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

I've experienced a problem with <kbd> tag and the asterisk * on Stack Overflow.

How to reproduce:

  1. <kbd>*</kbd> bug <kbd>*</kbd>

    which provides: bug

  2. <kbd>**</kbd> bug <kbd>*</kbd>
    which provides: * bug

  3. <kbd>**</kbd> bug <kbd>**</kbd>
    which provides bug

Example without the issue:

/ bug *

share|improve this question

1 Answer 1

up vote 24 down vote accepted

You need to escape the asterisks since they are involved in formatting in markdown.





Same applies to _ if you want to show the _ key.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .