代码之家  ›  专栏  ›  技术社区  ›  Ivan

如何在GitHub页面上的Markdown中将超链接放在列表中?

  •  0
  • Ivan  · 技术社区  · 6 年前

      1. [Caption]: https://example.com
      2. Another list item
    

    与直观的预期相反,它呈现在下面的HTML代码中

    <ol>
      <li></li>
      <li>Another list item</li>
    </ol>
    

    2 回复  |  直到 6 年前
        1
  •  22
  •   Alex Harvey    6 年前

    应该是:

      1. [Caption](https://example.com)
      2. Another list item
    
        2
  •  4
  •   C. Augusto Proiete    6 年前

    来自GitHub的“ Mastering Markdown ":

    http://github.com - automatic!
    [GitHub](http://github.com)
    

    Mastering Markdown]

    https://guides.github.com/features/mastering-markdown/#Links