mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-29 02:45:35 +00:00
When `--reference-location=section` or `=block`, use an `aside` element for the notes rather than a `section`. When `--reference-location=section`, include the `aside` element inside the section element, rather than outside. (In slide shows, this option causes footnotes on a slide to be displayed at the bottom of the slide.) Closes #8695.
24 lines
504 B
Markdown
24 lines
504 B
Markdown
```
|
|
% pandoc -t html
|
|
Test.[^fn]
|
|
|
|
[^fn]: Foo:
|
|
|
|

|
|
^D
|
|
<p>Test.<a href="#fn1" class="footnote-ref" id="fnref1"
|
|
role="doc-noteref"><sup>1</sup></a></p>
|
|
<aside id="footnotes" class="footnotes footnotes-end-of-document"
|
|
role="doc-endnotes">
|
|
<hr />
|
|
<ol>
|
|
<li id="fn1"><p>Foo:</p>
|
|
<figure>
|
|
<img src="/image.jpg" alt="Caption." />
|
|
<figcaption aria-hidden="true">Caption.</figcaption>
|
|
</figure>
|
|
<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></li>
|
|
</ol>
|
|
</aside>
|
|
```
|