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

I edited a question on SO. My edit was approved, but only after it was modified to change an instance of code formatting to keystroke formatting. I did not know how to format as a keystroke, so it appears there is a hidden combination of SO HTML that does it. At that point, I looked it up through edit, but have already forgotten what it is.

Could this be added as a button to the WYSIWYG editor?

share|improve this question
    
possible duplicate of Keyboard Glyphs –  Arjan Oct 30 '12 at 18:31
3  
@Arjan: not a duplicate. My question is not about how it's done - it's about getting it into the editor as a standard feature. –  user199936 Oct 30 '12 at 18:38
    
Thanks for editing my post. Now it's almost as good to start a book with it being the intro paragraph. :) But why did you remove feature-request tag? –  user199936 Oct 30 '12 at 18:58
    
Ah, my bad: given that you did not use <kbd> anywhere in your original post, I thought you were asking about how it works. (So did blahdiblah in their answer.) Very well then: duplicate of Please add a toolbar button or keyboard shortcut for the Keyboard style, but that has been closed... –  Arjan Oct 30 '12 at 19:53
    
@Arjan: if you are so desperate to find a duplicate, look no further: meta.stackexchange.com/questions/102841/…, but I think this question is better formulated due to numerous edits by fellow members (thanks to everybody who contributed). –  user199936 Oct 30 '12 at 19:59
    
I actually think that is not a duplicate, but indeed the one I linked to is closed as a duplicate of that one. And please don't blame people from misinterpreting your original post. –  Arjan Oct 30 '12 at 20:05

1 Answer 1

up vote 2 down vote accepted

It sounds like you might be looking for the keyboard markup.

Which is to say:

<kbd>keyboard markup</kbd>

That's probably not used frequently enough to warrant a button on the WYSIWYG editor, but it might be nice to document it better. Right now it's only documented via Advanced Markup - Inline HTML as one of the supported tags.

share|improve this answer
1  
Thanks for your answer. I still think it needs to be there, because it makes sense to have it there. So my call is make it available and we'll see if it becomes popular. If it contributes to interface clutter, you could hide it in advanced options of the editor. Some ellipsis ... or More >> arrow or similar. –  user199936 Oct 30 '12 at 18:40

You must log in to answer this question.