pandoc/test/command/7965.md
John MacFarlane 54f6e1be9b Remove native_divs from allowed gfm extensions.
This allows `<div>` to be suppressed using `-raw_html`.
Previously `native_divs` was enabled but could
not be suppressed, because it was not in the list of
available extensions for commonmark-based formats.

Closes #7965.
2022-03-14 12:45:45 -07:00

54 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

```
% pandoc -f markdown -t gfm
Watson and Crick (1953)
<div id="refs" class="references csl-bib-body hanging-indent">
<div id="ref-WatsonCrick1953" class="csl-entry">
Watson, J. D., and F. H. C. Crick. 1953. “Molecular Structure of Nucleic
Acids: A Structure for Deoxyribose Nucleic Acid.” *Nature* 171 (4356):
73738. <https://doi.org/10.1038/171737a0>.
</div>
</div>
^D
Watson and Crick (1953)
<div id="refs" class="references csl-bib-body hanging-indent">
<div id="ref-WatsonCrick1953" class="csl-entry">
Watson, J. D., and F. H. C. Crick. 1953. “Molecular Structure of Nucleic
Acids: A Structure for Deoxyribose Nucleic Acid.” *Nature* 171 (4356):
73738. <https://doi.org/10.1038/171737a0>.
</div>
</div>
```
```
% pandoc -f markdown -t gfm-raw_html
Watson and Crick (1953)
<div id="refs" class="references csl-bib-body hanging-indent">
<div id="ref-WatsonCrick1953" class="csl-entry">
Watson, J. D., and F. H. C. Crick. 1953. “Molecular Structure of Nucleic
Acids: A Structure for Deoxyribose Nucleic Acid.” *Nature* 171 (4356):
73738. <https://doi.org/10.1038/171737a0>.
</div>
</div>
^D
Watson and Crick (1953)
Watson, J. D., and F. H. C. Crick. 1953. “Molecular Structure of Nucleic
Acids: A Structure for Deoxyribose Nucleic Acid.” *Nature* 171 (4356):
73738. <https://doi.org/10.1038/171737a0>.
```