Files
pandoc/test/command/pandoc-citeproc-160.md
John MacFarlane bf674e8ddd Markdown writer: use different width fences for nested divs.
Outer divs have longer fences. This aids clarity for the reader,
making it easier to see where the div ends. It also makes the
output compatible with some other implementations, e.g.
micromark, which require different-width fences for nesting.

Closes #9450.
2024-02-12 10:05:36 -08:00

582 B

% 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.
:::
::::