【发布时间】:2021-03-15 19:46:43
【问题描述】:
我发现谢一辉在他的blog(source)中使用了内嵌脚注。
they use literate programming to explain TeX code.^[Is that because TeX code is particularly difficult to understand? I don't know. I don't understand TeX well.]
我使用hugo-ivy theme 创建了一个网站,并在homepage 中使用了内联脚注。
内容是:
---
title: Home
---
Here is an inline note^[Inline footnote does not work.].
Here is a footnote reference[^1].
[^1]: Reference footnote works.
但内联脚注不起作用。
如何在亿辉等markdown文件中使用内联脚注?
您可以访问demo website并克隆source code进行测试。
环境:Hugo 0.79.0,Blogdown 0.21.47
【问题讨论】: