我想做以下事情:
- 在@AuthorYear中获取带有引用键的markdown文件
- 在它上面运行 pandoc citeproc 以创建降价文件,但引用被实际文本替换。
我已经尝试过的示例:
- citationsfile 是包含引文的文件
- infile.md 和 outfile 分别是输入和输出
我可以将它从 Markdown 转换为 html
pandoc --bibliography citations.json --citeproc infile.md -o outfile.html
这似乎不起作用
pandoc --bibliography citations.json --citeproc infile.md -o outfile.md
有一个输出降价文件,但它仍然包含密钥,而不是替换。有没有比 markdown-html-markdown 更优雅的解决方案?