如何在github markdown列表中键入点?

Abn*_*hou 5 github github-flavored-markdown

我尝试使用markdown格式在自述文件中写入列表.

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

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

谢谢.

Pre*_*ays 7

你试过*(星号)你的积分吗?那个链接中的那些"点"只是空格.他们把它放在手册中,这样你就可以看到空格,而不是文字的"点"字符.

喜欢:

  • 这是一个观点
    • 这是一个小点
  • 这是另一点.
    • 这是另一个要点

他们的意思是:

  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
Run Code Online (Sandbox Code Playgroud)