【发布时间】:2014-02-24 17:16:14
【问题描述】:
我尝试使用 markdown 格式在我的自述文件中写一个列表。
但在the github flavoured markdown 中,它使用点"⋅" 而不是句点(".") 来表示列表对齐。
如何从普通的美式/英文键盘输入这样的点?我尝试复制粘贴到github,不行。
谢谢。
【问题讨论】:
标签: github github-flavored-markdown
我尝试使用 markdown 格式在我的自述文件中写一个列表。
但在the github flavoured markdown 中,它使用点"⋅" 而不是句点(".") 来表示列表对齐。
如何从普通的美式/英文键盘输入这样的点?我尝试复制粘贴到github,不行。
谢谢。
【问题讨论】:
标签: github github-flavored-markdown
您是否尝试过 *(星号)您的积分?该链接中的那些“点”只是空格。他们将其放在手册中,以便您可以将空格可视化,而不是文字上的“点”字符。
喜欢:
他们的意思是:
还有另一个项目。
您可以在列表项中正确缩进段落。请注意上面的空白行和前导空格(至少一个,但我们将在这里使用三个来对齐原始 Markdown)。
要在没有段落的情况下换行,您需要使用两个尾随空格。⋅⋅ 请注意,这一行是单独的,但在同一段落内。⋅⋅ (这与不需要尾随空格的典型 GFM 换行行为相反。)
这是原始代码:
1. First ordered list item
2. Another item
* Unordered sub-list.
1. Actual numbers don't matter, just that it's a number
1. Ordered sub-list
4. And another item.
You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).
To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅
Note that this line is separate, but within the same paragraph.⋅⋅
(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)
* Unordered list can use asterisks
- Or minuses
+ Or pluses
【讨论】:
只需点击空格多个空格即可进行软中断; (·) 只是为了表示法
【讨论】: