```
% pandoc -f rst -t native
.. figure:: img1.jpg
:width: 1in
:name: test
The caption. Here's what piggybacking on caption would look like {#fig:1}
^D
[ Para
[ Image
( "test" , [] , [ ( "width" , "1in" ) ] )
[ Str "The"
, Space
, Str "caption."
, Str "Here's"
, Str "what"
, Str "piggybacking"
, Str "on"
, Str "caption"
, Str "would"
, Str "look"
, Str "like"
, Str "{#fig:1}"
]
( "img1.jpg" , "fig:" )