有没有办法将参考文献列表添加到ASCII-DOC(或Markdown)?

时间:2015-10-07 10:15:19

标签: reference markdown pandoc asciidoc

我很难跟踪所有不同的降价风味。所以我决定切换到Ascii-doc,因为它提供了比base-markdown更多有用的功能(参见:http://powerman.name/doc/asciidoc)。

我真正缺少的一个功能是参考文献/文献清单的定义。有没有办法使用,例如bibTex文件并包含对文本的引用?

ascii-doc是否有某种插件?

或者pandoc帮忙?

2 个答案:

答案 0 :(得分:3)

您是否正在寻找类似asciidoctor中的bibliography的内容?

_The Pragmatic Programmer_ <<prag>> should be required reading for
all developers.

[bibliography]
- [[[prag]]] Andy Hunt & Dave Thomas. The Pragmatic Programmer:
  From Journeyman to Master. Addison-Wesley. 1999.
- [[[seam]]] Dan Allen. Seam in Action. Manning Publications.
  2008.

答案 1 :(得分:1)

是的,Pandoc supports citations,甚至来自外部BibTex文件。您需要使用YAML元数据部分中的参考书目元数据字段或--bibliography命令行参数指定参考书目文件。 pandoc markdown语法基本上是:

my text [see @smith04]
or @smith04 says blah.
相关问题