Possible Duplicate:
How to do newlines on the Stack Overflow website?

When I ask a question, I try to use carriage returns to aid clarity.

They are stripped when they appear in the forum.

Is there a way to use the CRs?


1 Answer 1


Stack Overflow uses Markdown. To add a newline to a question or answer, leave two spaces at the end of the previous line. To start a new paragraph, press Enter twice between lines.

  • Or add "<br/>" at the end of a line. Sep 19, 2012 at 19:44
  • 1
    However, note that an explicit newline is hardly ever needed, and one should most likely use paragraphs instead (using the empty line like Dave described above). And remember that the content is not only shown in desktop browsers, and any explicit formatting (including explicit newlines) might actually look bad on other platforms, or might make screen readers read the text as one loooong paragraph.
    – Arjan
    Sep 19, 2012 at 19:51
  • 1
    As for <br>, see the comments here, @Peter.
    – Arjan
    Sep 19, 2012 at 19:53

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