7

我尝试使用降价格式在我的自述文件中写一个列表。

但是在github 风格的 markdown中,它使用点"⋅" 而不是句点 ( ".") 来表示列表对齐。

如何从普通的美式/英文键盘输入这样的点?我试图复制并粘贴到github,它不起作用。

谢谢。

4

2 回答 2

12

您是否尝试过 *(星号)您的积分?该链接中的那些“点”只是空格。他们将其放在手册中,以便您可以可视化空格,而不是文字上的“点”字符。

像:

  • 这是一个点
    • 这是一个子点
  • 这是另一点。
    • 这是另一个分点

他们的意思是:

  1. 第一个有序列表项
  2. 另一个项目
    • 无序的子列表。
  3. 实际数字无关紧要,只是一个数字
    1. 有序子列表
  4. 和另一个项目。

    您可以在列表项中正确缩进段落。注意上面的空白行和前导空格(至少一个,但我们将在这里使用三个来对齐原始 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
于 2014-01-31T20:51:34.787 回答
1

只需点击空格多个空格即可进行软休息;(·) 仅用于表示法

试试这节课

于 2016-09-28T11:38:52.860 回答