First time here? Check out the FAQ!
1

Enhancement suggestion: enable HTML "kbd" tags
 

On the Q&A Askbot site I most regularly contribute to, I sometimes indicate keyboard input by means of the back-ticks to get the monospace font, e.g. Esc, F1, etc. However, this is the "code" markup, and is the same style as $foo = bar('baz');. It works as a "fudge", but having code and kbd visually distinct would be preferable.

I have noticed that another Q&A implementation gives both code and "kbd" options, with distinct styling. The "kbd" style simply uses the standard HTML tags (with a bit of CSS applied, of course!).

It struck me that this would be a simple but useful enhancement for Askbot, too, so note it here as a suggestion.

Thanks!

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
dajare's avatar
65
dajare
asked 11 years ago

Comments

see more comments

1 Answer

0

The <kbd> tag is allowed - for example see: Ctrl-C.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago
link

Comments

Sorry for delayed reaction reply: yes, the tag is allowed, but there is no distinct CSS to style it - that was more my point. Or would that be up to individual installs? (I'm active at Ask LibO, btw.)

dajare's avatar dajare (11 years ago)
see more comments