pandoc/test/command/pandoc-citeproc-213.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

593 B

% pandoc --citeproc -t markdown-citations
---
csl: 'command/harvard-university-of-kent.csl'
references:
- author:
  - family: Doe
    given: Ann
  collection-title: The collection title
  dimensions: 789 pp.
  id: doe1
  issued:
  - year: 1999
  publisher: The publisher
  title: Title
  type: book
---

Foo [@doe1].

References {#references .unnumbered}
==========
^D
Foo (Doe 1999).

# References {#references .unnumbered}

::: {#refs .references .csl-bib-body .hanging-indent}
::: {#ref-doe1 .csl-entry}
Doe, A. (1999). *Title*. The collection title. The publisher. 789 pp.
:::
:::