Pandoc:一个接一个的多个脚注?

Pandoc: multiple footnotes next to one another?

如果我想将两个脚注并排引用,用逗号分隔,这样做的语法是什么? Pandoc documentation 似乎没有具体说明。

作为我正在努力完成的示例:

Some text here [^fn1, ^fn2] ## this clearly isn't the syntax, I've tried this.

变为:

Some text here 1, 2.

多个脚注的语法为:

Some text here [^fn1][^fn2]

[^fn1]: foo
[^fn2]: bar

但是,要在 PDF 输出中用逗号分隔它们,您必须 tell LaTeX to do so by including the following in your pandoc template:

\usepackage[multiple]{footmisc}

对于 HTML 输出,您必须在 CSS 中执行类似的操作:

<style>
.footnote-ref ~ .footnote-ref :before {
  content: ', '
}
</style>