```
% pandoc -f rst -t native
.. figure:: example.png
   :figclass: foo bar
   :align: right
   :width: 1in

   This is a caption.
^D
[ Figure
    ( "" , [ "foo" , "bar" , "align-right" ] , [] )
    (Caption
       Nothing
       [ Plain
           [ Str "This"
           , Space
           , Str "is"
           , Space
           , Str "a"
           , Space
           , Str "caption."
           ]
       ])
    [ Plain
        [ Image
            ( "" , [] , [ ( "width" , "1in" ) ] )
            [ Str "example.png" ]
            ( "example.png" , "" )
        ]
    ]
]
```
