我最近转而在Github Pages上使用Jekyll为我的各种博客,并且喜欢我可以将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.
Run Code Online (Sandbox Code Playgroud)
我确实找到一个帖子(某个地方)建议为redcarpet markdown处理器启用脚注扩展,但是这也没有做到:
markdown: redcarpet
redcarpet:
extensions: ["footnotes"]
Run Code Online (Sandbox Code Playgroud)
有没有办法使用Markdown脚注而不预先生成静态网站,然后再将其推送到Github?