pandoc/test/command/853.md
John MacFarlane c4f6e6cb57 HTML writer: make line breaks more consistent.
- With `--wrap=none`, we now output line breaks between
  block-level elements. Previously they were omitted
  entirely, so the whole document was on one line, unless
  there were literal line breaks in pre sections.  This makes
  the HTML writer's behavior more consistent with that of
  other writers.

- Put newline after `<dd>`.

- Put newlines after block-level elements in footnote section.
2021-12-22 09:45:02 -08:00

21 lines
483 B
Markdown

reStructuredText citations.
```
% pandoc -f rst
Here is a citation reference: [CIT2002]_.
.. [CIT2002] This is the citation. It's just like a footnote,
except the label is textual.
^D
<p>Here is a citation reference: <a href="#CIT2002"
class="citation">[CIT2002]</a>.</p>
<div id="citations">
<dl>
<dt><span id="CIT2002" class="citation-label">CIT2002</span></dt>
<dd>
<p>This is the citation. It's just like a footnote, except the label is
textual.</p>
</dd>
</dl>
</div>
```