aboutsummaryrefslogtreecommitdiff
path: root/test/command/pandoc-citeproc-160.md
blob: 9f2a29e2c6ec402eb2cdd6d4a0a4a6b9f16276f1 (plain)
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
45
46
```
% 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.
:::
:::
```