2

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?

0

1 Answer 1

4

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.

3
  • Or add "<br/>" at the end of a line. Commented 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. Commented Sep 19, 2012 at 19:51
  • 1
    As for <br>, see the comments here, @Peter. Commented Sep 19, 2012 at 19:53

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.