Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

How are people showing keyboard "glyphs" on Super User? I looked at the Markdown help page and it didn't show anything regarding this.

Here is an example (question has been deleted since this was asked, and now requires 10k SU rep):

share|improve this question
your example link is now broken – Christopher Bottoms Sep 13 '11 at 11:42
A very easy way to find this out would have been click the edit button on a post where you see this and look at their code. – Jasper Dec 21 '12 at 17:38
@Jasper: sure, but I was specifically wondering if this was something implemented in stackoverflow's flavor of Markdown. Turned out it was just straight up html – Jorge Israel Peña Dec 22 '12 at 2:03
@JorgeIsraelPeña In fact, the "magic" isn't in the html. but in the css and could have been applied to a span just as easily. – Jasper Dec 22 '12 at 5:00
@Jasper Ah yes, I misunderstood your first comment (though I made no claims of there being any "magic" or where it was derived from; "straight up html" from the user input perspective). And yeah, that's typically what I do, I guess at the time I didn't have access to the edit link or just didn't think of it or something – Jorge Israel Peña Dec 22 '12 at 8:34
up vote 128 down vote accepted

You need to use the <kbd> HTML tag:


becomes CTRL+Z

share|improve this answer
How about to print "Android", "HTML" tag inside the question? Android tag's link is here: – Paresh Mayani Nov 8 '11 at 9:54
Note that these don't work in comments but appears as <kbd>CTRL</kbd>. – Deanna Jul 30 '12 at 14:28
Or, now that mid 2012 these sites started being HTML5, the recommended way would be <kbd><kbd>CTRL</kbd>+<kbd>Z</kbd></kbd>... But yes, that is ugly here! (And yes, it's just a recommendation...) – Arjan Sep 30 '12 at 15:33
Hmm <kbd>kbd stopped working in comments</kbd> – bobobobo Oct 18 '12 at 14:13
@bobobobo HTML isn't allowed in comments :( – Joel Mellon Feb 23 at 16:22

Additionally, if you have formatting questions like that, you can look at the source of the post to see what markup was used (by clicking edit).

share|improve this answer

You must log in to answer this question.

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