c4f6e6cb57
- 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.
21 lines
483 B
Markdown
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>
|
|
```
|