我尝试使用markdown格式在自述文件中写一个列表。
但在the github flavoured markdown中,它使用点"⋅"
而不是句点("."
)来表示列表的对齐。
如何从常规美式/英式键盘输入这样的点?我试图复制并粘贴到github,这不起作用。
感谢。
答案 0 :(得分:7)
你试过*(星号)你的积分吗?那个链接中的那些“点”只是空格。他们把它放在手册中,这样你就可以看到空格,而不是它是字面上的“点”字符。
像:
他们的意思是:
另一项。
您可以在列表项中正确缩进段落。注意上面的空白行和前导空格(至少有一个,但我们在这里使用三个也可以对齐原始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
答案 1 :(得分:1)
只需在空间中打多个空格即可进行软休息; (·)仅用于表示法