How to add new line in Markdown presentation?

max04 picture max04 · Oct 17, 2015 · Viewed 337.7k times · Source

How to add new line in Markdown presentation?

I mean, something like \newline in TeX.

Answer

Chris picture Chris · Oct 17, 2015

See the original markdown specification (bold mine):

The implication of the “one or more consecutive lines of text” rule is that Markdown supports “hard-wrapped” text paragraphs. This differs significantly from most other text-to-HTML formatters (including Movable Type’s “Convert Line Breaks” option) which translate every line break character in a paragraph into a <br /> tag.

When you do want to insert a <br /> break tag using Markdown, you end a line with two or more spaces, then type return.