我最近转而使用Jekyll在Github Pages上运行我的各种博客,并且很喜欢它,因为我只需将Markdown文件推送到Github,他们就会处理。我想继续以这种方式使用它(而不是在本地运行Jekyll,然后将预先生成的站点推送到Github),因为Github UI使添加和调整帖子变得容易,即使我不在自己的机器上。
只有一件事我一直没能解决:我无法让Markdown脚注工作。我正在使用这个样式:
I bet you'd like more information about this sentence [^1].
[^1]: Well lucky for you, I've included more information in footnote form.
我确实找到了一篇帖子(位置不明),建议为redcarpet markdown处理器启用脚注扩展,但这也没有解决问题:
markdown: redcarpet
redcarpet:
extensions: ["footnotes"]
有没有办法在推送到Github之前不预先生成静态站点的情况下使用Markdown脚注?