```
% pandoc --to "markdown-bracketed_spans-fenced_divs-link_attributes-simple_tables-multiline_tables-grid_tables-pipe_tables-fenced_code_attributes-markdown_in_html_blocks-table_captions-smart"
![Caption](img.png){#img:1}
^D
<figure id="img:1">
<img src="img.png" alt="Caption" />
<figcaption aria-hidden="true">Caption</figcaption>
</figure>
```
