【问题标题】:How to type the dot in github markdown list?如何在 github markdown 列表中输入点?
【发布时间】:2014-02-24 17:16:14
【问题描述】:

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

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

如何从普通的美式/英文键盘输入这样的点?我尝试复制粘贴到github,不行。

谢谢。

【问题讨论】:

    标签: github github-flavored-markdown


    【解决方案1】:

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

    喜欢:

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

    他们的意思是:

    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
    

    【讨论】:

    • 这是可行的,但我想使用那种特定的样式,在点前面没有任何点或数字。
    • 非常感谢,我误会了。
    【解决方案2】:

    只需点击空格多个空格即可进行软中断; (·) 只是为了表示法

    try this lesson Here

    【讨论】:

      猜你喜欢
      • 2019-06-07
      • 2018-07-02
      • 2016-12-11
      • 1970-01-01
      • 1970-01-01
      • 2019-05-29
      • 1970-01-01
      • 2015-03-27
      相关资源
      最近更新 更多