1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
```
% pandoc --citeproc -t markdown-citations
---
csl: command/issue160.csl
references:
- author:
- family: Doe
given: Jane
citation-label: Jane11
id: item1
issued:
year: 2011
title: A book
type: book
---
No citation-label
-----------------
Foo [@item1].
Expected
--------
> Foo \[Jane11\].
>
> \[Jane11\] Jane Doe. A book. 2011.
^D
## No citation-label
Foo \[Jane11\].
## Expected
> Foo \[Jane11\].
>
> \[Jane11\] Jane Doe. A book. 2011.
::: {#refs .references .csl-bib-body}
::: {#ref-item1 .csl-entry}
\[Jane11\] Jane Doe. A book. 2011.
:::
:::
```
|