Reputation: 21864
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.
Upvotes: 143
Views: 150981
Reputation: 1
Just use a single hyphen "-":
Example:
First line
-
Second line
Result:
First line
Second line
Upvotes: 0
Reputation: 8601
Feb 3rd 2020:
---
did produce the line, but I could not get new lines to work with suggestions above.[space][space]
suggestion, since my editor removes trailing spaces on save, and I like this feature on.I ended up doing this:
TEXT...
<br><hr><br>
TEXT...
Resulting in:
TEXT...
<AN EMPTY LINE>
----------------- AN HORIZONTAL LINE ----------------
<AN EMPTY LINE>
TEXT...
Upvotes: 0
Reputation: 103401
I was facing the same issue in bitbucket, and this worked for me:
line1
##<2 white spaces><enter>
line2
Upvotes: 4
Reputation: 10667
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
Upvotes: 0
Reputation: 50667
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.
Upvotes: 264
Reputation: 9579
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
Upvotes: 90