pandoc/test/command/pandoc-citeproc-175.md
Aner Lucero f63b76e169 Markdown writer: default to using ATX headings.
Previously we used Setext (underlined) headings by default.
The default is now ATX (`##` style).

* Add the `--markdown-headings=atx|setext` option.
* Deprecate `--atx-headers`.
* Add constructor 'ATXHeadingInLHS` constructor to `LogMessage` [API change].
* Support `markdown-headings` in defaults files.
* Document new options in MANUAL.

Closes #6662.
2020-11-14 21:33:32 -08:00

43 lines
729 B
Markdown

```
% pandoc --citeproc -t markdown-citations
---
references:
- author:
- family: Doe
given: Jane
container-title: A magazine
id: item1
issued:
- month: 1
year: 2011
- month: 2
year: 2011
page: '33-44'
title: A title
type: 'article-magazine'
---
Missing en-dash between months
------------------------------
Foo [@item1].
Expected
--------
> Doe, Jane. 2011. "A Title." *A Magazine*, January--February.
^D
## Missing en-dash between months
Foo (Doe 2011).
## Expected
> Doe, Jane. 2011. "A Title." *A Magazine*, January--February.
::: {#refs .references .csl-bib-body .hanging-indent}
::: {#ref-item1 .csl-entry}
Doe, Jane. 2011. "A Title." *A Magazine*, January--February 2011.
:::
:::
```