How to write one new line in Bitbucket markdown?

2019-01-30 07:40发布

问题:

Is it possible to write a new line (NOT a paragraph) in the Bitbucket markdown?

Two new lines in the source creates one new paragraph. I only want a new line. And I don't want to use a code block.

回答1:

It's possible, as addressed in Issue #7396:

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



回答2:

It's now possible to add a forced line break
with two blank spaces at the end of the line:

line1→→
line2

will be formatted as:

line1
line2



回答3:

On Github, <p> and <br/>solves the problem.

<p>I want to this to appear in a new line. Introduces extra line above

or

<br/> another way