Since Stack Exchange already supports <kbd> for text input, it only makes sense to support the matching output from a program, <samp>, distinctly from the program <code> itself.

If there is value to supporting <pre> and these others in addition to Markdown's backticks and indent, adding <samp> would provide similar value, both in allowing HTML to be pasted and supported, as well as styling context (such as not attempting to syntax highlight the content).

  • 4
    Also, please add support for <blink> and <marquee> tags. ;) – Alconja Mar 18 '10 at 22:25
  • 3
    Those are presentational, rather than semantic markup! – brianary Mar 19 '10 at 14:19
  • What do you mean by "support"? What would text in such a tag look like? – Ether Mar 20 '10 at 2:47
  • 3
    By "support" I mean adding it to the list of allowed tags; not stripping it. As far as style, I'd assume it would look similar to <kbd>, i.e. monospace font, maybe different colors or bolded. – brianary Mar 22 '10 at 5:23
  • 1
    I was just about to ask this same question, then found to my disappointment that it was asked more than four years ago and still the samp element is not supported in Stack Overflow markup. – Arkanon Jul 6 '14 at 10:08
  • 1
    @Arkanon This is the problem with closed, permission-based systems. – brianary Apr 24 '15 at 16:58

You must log in to answer this question.

Browse other questions tagged .