Added explanation of 'nocite' trick.

This commit is contained in:
John MacFarlane 2014-02-13 10:33:00 -08:00
parent 927b516308
commit 0f1fa1b586

15
README
View file

@ -2473,6 +2473,21 @@ document with an appropriate header:
The bibliography will be inserted after this header. The bibliography will be inserted after this header.
If you want to include items in the bibliography without actually
citing them in the body text, you can define a dummy `nocite` metadata
field and put the citations there:
---
nocite:
| @item1, @item2
...
@item3
In this example, the document will contain a citation for `item3`
only, but the bibliography will contain entries for `item1`, `item2`, and
`item3`.
Non-pandoc extensions Non-pandoc extensions
--------------------- ---------------------