How to write one new line in Bitbucket markdown?

你说的曾经没有我的故事 提交于 2019-12-03 18:22:26

问题


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




回答4:


I was facing the same issue in bitbucket, and this worked for me:

line1
##<2 white spaces><enter>
line2


来源:https://stackoverflow.com/questions/22385334/how-to-write-one-new-line-in-bitbucket-markdown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!