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

487 B

% pandoc --citeproc -t markdown-citations
---
references:
- author:
  - family: Author
    given: Al
  id: item1
  issued:
    date-parts:
    - - 1998
  title: 'foo bar baz: bazbaz foo'
  type: 'article-journal'
---

Foo [@item1].

References {#references .unnumbered}
==========
^D
Foo (Author 1998).

# References {#references .unnumbered}

::: {#refs .references .csl-bib-body .hanging-indent}
::: {#ref-item1 .csl-entry}
Author, Al. 1998. "Foo Bar Baz: Bazbaz Foo."
:::
:::