How to add new lines inside paragraph in README.md

Question:

When editing an issue and clicking Preview the following markdown source:

shows every letter on a new line.

However, it seems to me that pushing similar markdown source structure in README.md joins all the letters on one line. How to add new lines inside paragraphs in README.md?

Answer:

Interpreting newlines as <br /> used to be a feature of Github-flavored markdown, but the most recent help document no longer lists this feature.

Fortunately, you can do it manually. The easiest way is to ensure that each line ends with two spaces. So, change

into

(where _ is a blank space).

Or, you can add explicit <br /> tags.

Leave a Reply