``` % pandoc -t html5 --reference-location=section # Section 1 hello[^1] : Sample table.[^2] ----------- Fruit[^3] ----------- Bans[^4] ----------- # Section 2 dolly[^5] [^1]: doc footnote [^2]: caption footnote [^3]: header footnote [^4]: table cell footnote [^5]: doc footnote ^D

Section 1

hello1

Sample table.2
Fruit3
Bans4

Section 2

dolly5

```