How do you add a new line in a Markdown presentation, similar to using \newline in TeX?
Hello Anusha,
Markdown supports “hard-wrapped” text paragraphs, meaning “one or more consecutive lines of text” form a single paragraph. This differs significantly from most other text-to-HTML formatters, such as Movable Type’s “Convert Line Breaks” option, which converts every line break character in a paragraph into a <br /> tag.
To insert a <br /> break tag in Markdown, you need to end a line with two or more spaces and then press return.
Hey Anusha,
Markdown provides three ways to break a line:
- 
Using the
<br />tag:First Line <br /> Second Line - 
Using the backslash
\:First Line sentence \ Second Line sentence - 
By pressing the space key twice:
First Line sentence␠␠ Second Line sentence 
You can use the <br /> tag within paragraphs to create line breaks. Alternatively, for multiple sentences, use either the backslash \ or press the space key twice followed by Enter to start a new sentence.
Hello Anusha,
Neither a double space nor a backslash \ at the end of a paragraph worked for me. However, having a blank line between text in the code did, as did adding <p> at the start of the paragraph (adding </p> at the end wasn’t necessary).
For example:
First paragraph
Second paragraph
<p>First paragraph
<p>Second paragraph