24

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).

7
  • 4
    Also, please add support for <blink> and <marquee> tags. ;)
    – Alconja
    Commented Mar 18, 2010 at 22:25
  • 3
    Those are presentational, rather than semantic markup!
    – brianary
    Commented Mar 19, 2010 at 14:19
  • What do you mean by "support"? What would text in such a tag look like?
    – Ether
    Commented Mar 20, 2010 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
    Commented Mar 22, 2010 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
    Commented Jul 6, 2014 at 10:08
  • 1
    @Arkanon This is the problem with closed, permission-based systems.
    – brianary
    Commented Apr 24, 2015 at 16:58

0

You must log in to answer this question.

Browse other questions tagged .