Jekyll kramdown 不支持参考链接

Jekyll kramdown does not support reference links

我尝试在 Jekyll 中使用 kramdown reference links。参考链接不起作用(Jekyll 不生成标签)。内联链接按预期工作。

我只是将 kramdown syntax reference 中的示例复制到我的 Kramdown 文档中。

This is a [reference style link][linkid] to a page. And [this]
[linkid] is also a link. As is [this][] and [THIS].

请重现此问题或确认它是否有效。

你需要定义 reference 不过.. 例如:

This is a [reference style link][linkid] to a page. And [this]
[linkid] is also a link.


[linkid]: http://www.example.com/

我想你想要一个脚注:

This is a text with a footnote[^1].

[^1]: And here is the definition.

https://kramdown.gettalong.org/quickref.html#footnotes