aboutsummaryrefslogtreecommitdiff
path: root/test/command/4420.md
blob: 3e7008935ef7448d7bd1212c9e04d7c392b8b03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
```
% pandoc -f native -t rst
[Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","")]
^D
|image|

.. |image| image:: foo.png
   :align: right
   :width: 100px
```

```
% pandoc -f native -t rst
[Para [Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","fig:test")]]
^D
.. figure:: foo.png
   :alt: test
   :align: right
   :width: 100px

   image
```