I tried with HTML or Code. I get strange answers. Too many links, but I only want to show some code. And it removes text from my question.

Why is there not a plain text function?

  • 2
    I have no idea what you mean. If you want "plain text", just type in your question. What's the problem?
    – Oded
    Commented Feb 7, 2014 at 10:19
  • 1
    Maybe try what you want in the sandbox?
    – rene
    Commented Feb 7, 2014 at 10:22
  • Are you by any chance trying to post html and do some of your tags end up missing? Perhaps put the raw text you're trying to post online somewhere so we can have a look at it.
    – Bart
    Commented Feb 7, 2014 at 10:27
  • Try indenting it by 4 spaces..? Hard to tell what you mean..
    – OGHaza
    Commented Feb 7, 2014 at 10:28
  • 3
    Isn't this question you've asked in plain text?
    – JonW
    Commented Feb 7, 2014 at 10:28
  • @Oded He is so much into programming until he switched definitions, so plain text is code and code is plain text ;) Commented Feb 7, 2014 at 10:35
  • 1
    possible duplicate of How do I format my code blocks? Commented Feb 7, 2014 at 11:15
  • I don't understand, what are you actually trying to say boy?
    – user251196
    Commented Feb 7, 2014 at 11:58
  • 2
    @stackoverloop im sure its just a language barrier but F.Y.I refering to people as "boy" can be considered offensive Commented Feb 7, 2014 at 13:03

1 Answer 1


There is functionality to highlight the code part and other part of the question.

Like your code is this


and you have leave it as it is.

you need to select your code and then press ctrl + k to highlight the code like this:


I hope this is the solution of your problem.

NOTE: SO provides the editor to add the question or answer in a good format. you can use the toolbar also that appears in the above or textarea.

  • 1
    An alternative to ctrl + k is to use the { } button Commented Feb 7, 2014 at 10:56
  • Richard Tingle's response refers to the button in the row of formatting buttons above the body of a question or answer.
    – Cerran
    Commented Feb 7, 2014 at 12:18

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