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

32 lines
570 B
Markdown

```
% pandoc --citeproc -t markdown-citations
---
csl: command/chicago-fullnote-bibliography.csl
references:
- id: doe
type: article
author:
- family: Doe
given: John
DOI: 10.1109/5.771073
issued:
- year: 2020
title: An article
...
Blah [@doe].
# References {-}
^D
Blah.[^1]
# References {#references .unnumbered}
::: {#refs .references .csl-bib-body .hanging-indent}
::: {#ref-doe .csl-entry}
Doe, John. "An Article," 2020. <https://doi.org/10.1109/5.771073>.
:::
:::
[^1]: John Doe, "An Article," 2020, <https://doi.org/10.1109/5.771073>.
```