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

698 B

% pandoc --citeproc -t markdown-citations
---
csl: 'command/chicago-annotated-bibliography.csl'
references:
- URL: 'https://www.worldcat.org/'
  accessed:
    date-parts:
    - - 2014
      - 9
      - 19
  author:
  - literal: OCLC
  first-reference-note-number: 1
  id: OCLC_i1099
  title: WorldCat
  type: webpage
---

Title
=====

Some text.[^1]

[^1]: Comment regarding text, supported by citation [@OCLC_i1099].
^D
# Title

Some text.[^1]

::: {#refs .references .csl-bib-body .hanging-indent}
::: {#ref-OCLC_i1099 .csl-entry}
OCLC. "WorldCat." Accessed September 19, 2014.
<https://www.worldcat.org/>.
:::
:::

[^1]: Comment regarding text, supported by citation (OCLC, "WorldCat").