使用 .bib 文件将参考书目添加到 markdown 文档
Use .bib file to add bibliography to markdown document
我想从 .bib
文件添加对 github wiki 的引用。所以我需要生成一个带有嵌入式参考书目的降价文件。
我通常使用 pandoc 将 markdown + .bib
转换为 pdf、html 或 doc。例如:
pandoc test.md --bibliography allBib.bib -t markdown -o out.html
是否可以输出一个与输入的 markdown 文件相对应的文件,并从 .bib
文件中替换引用?
我试过了
pandoc Experimental-notes.md --bibliography ../allBib.bib -t markdown -o out.md
但生成的 markdown 文件未更改且不包含引用。
来自 this answer:您需要从输出格式中删除 citations
扩展名。
pandoc Experimental-notes.md -t markdown-citations -o out.md --bibliography ../allBib.bib
我想从 .bib
文件添加对 github wiki 的引用。所以我需要生成一个带有嵌入式参考书目的降价文件。
我通常使用 pandoc 将 markdown + .bib
转换为 pdf、html 或 doc。例如:
pandoc test.md --bibliography allBib.bib -t markdown -o out.html
是否可以输出一个与输入的 markdown 文件相对应的文件,并从 .bib
文件中替换引用?
我试过了
pandoc Experimental-notes.md --bibliography ../allBib.bib -t markdown -o out.md
但生成的 markdown 文件未更改且不包含引用。
来自 this answer:您需要从输出格式中删除 citations
扩展名。
pandoc Experimental-notes.md -t markdown-citations -o out.md --bibliography ../allBib.bib