问题描述
当编辑问题并点击预览以下降价源时:
a
b
c
显示新行上的每一个字母。
不过,在我看来,在README.md中推送类似的降价源结构会加入一行中的所有字母。
我想要在README中保留新行.md在这个项目中:
任何想法如何?
将新行解释为< br />
曾经是Github风格降价的功能,但最新的不再列出此功能。
幸运的是,你可以手动完成。最简单的方法是确保每行以两个空格结束。所以,改变
a
b
c
转换为
a__
b__
c
(其中 _
是空格) 。
或者,您可以添加明确的< br />
标签。 b
a< br />>
b< br />
c
When editing an issue and clicking Preview the following markdown source:
a
b
c
shows every letter on a new line.
However, it seems to me that pushing similar markdown source structure in README.md joins all the letters on one line.
I'd like the new lines preserved in the README.md in this project: https://github.com/zoran119/simple-read-only-test
Any idea how?
Interpreting newlines as <br />
used to be a feature of Github-flavored markdown, but the most recent help document no longer lists this feature.
Fortunately, you can do it manually. The easiest way is to ensure that each line ends with two spaces. So, change
a
b
c
into
a__
b__
c
(where _
is a blank space).
Or, you can add explicit <br />
tags.
a <br />
b <br />
c
这篇关于README.md中段落内的新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!