22

Guys, I was looking in a question when I found a different way to markup keyboard (combination of keys) to express commands. I cant found a previously answer about Markdown (except this, but not covering my question).

So I take the screenshot below (because I dont know how to call it ehehehe):

markup keyboard shortcut like in this

What is the Markdown tag used to show Ctrl + D as showed above?

27

Guys, I found it! just adding the html tag kbd as:

<kbd>Alt</kbd>+<kbd>F2</kbd>

That will produce Alt+F2. Would be very nice if someone able to edit http://meta.askubuntu.com/editing-help and add this feature.

  • 3
    There should be an easier method to add these tags. Just try telling somebody to switch virtual teminals, do something, and press Ctrl+Z by hand-typing these tags. – Reinstate Monica - ζ-- Jun 15 '12 at 22:21
13

This is HTML that works also in the used Markup language here on StackExchange. You would write <kbd>F1</kbd> to achieve F1 (when it is surrounded by ` for code formatting, HTML is ignored). kbd is the abbreviation for keyboard.
Oh, and in comments you also have no HTML support.

For more information, look there:
https://askubuntu.com/help/formatting
https://askubuntu.com/editing-help#html

But anyway, I think this question is placed better on meta.AU, so I will flag it for migration.

You must log in to answer this question.

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