如何在 GitHub 页面上的 Markdown 列表中放置超链接?
How do I put a hyperlink inside a list in Markdown on GitHub Pages?
我已尝试使用以下语法在我的 GitHub 页面上制作一个 Markdown 列表项超链接:
1. [Caption]: https://example.com
2. Another list item
与直观预期相反,它呈现为以下 HTML 代码
<ol>
<li></li>
<li>Another list item</li>
</ol>
如何解决这个问题?这有正确的语法吗?我的目的是创建一个可点击的信息来源列表,用于撰写文章并将其放在底部。
应该是:
1. [Caption](https://example.com)
2. Another list item
来自 GitHub 的“Mastering Markdown”:
链接
http://github.com - automatic!
[GitHub](http://github.com)
https://guides.github.com/features/mastering-markdown/#Links
我已尝试使用以下语法在我的 GitHub 页面上制作一个 Markdown 列表项超链接:
1. [Caption]: https://example.com
2. Another list item
与直观预期相反,它呈现为以下 HTML 代码
<ol>
<li></li>
<li>Another list item</li>
</ol>
如何解决这个问题?这有正确的语法吗?我的目的是创建一个可点击的信息来源列表,用于撰写文章并将其放在底部。
应该是:
1. [Caption](https://example.com)
2. Another list item
来自 GitHub 的“Mastering Markdown”:
链接
http://github.com - automatic!
[GitHub](http://github.com)
https://guides.github.com/features/mastering-markdown/#Links