2017-07-22 19:22:56 +02:00
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<figure>
|
|
|
|
<img src="foo.png" title="voyage">
|
|
|
|
<figcaption>bar</figcaption>
|
|
|
|
</figure>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Image
|
|
|
|
( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" )
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2017-07-22 19:22:56 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<figure>
|
|
|
|
<figcaption>bar</figcaption>
|
|
|
|
<img src="foo.png" title="voyage">
|
|
|
|
</figure>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 17:28:54 +02:00
|
|
|
[ Image
|
|
|
|
( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" )
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2017-07-22 19:22:56 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<figure>
|
|
|
|
<img src="foo.png" title="voyage">
|
|
|
|
</figure>
|
|
|
|
^D
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Para
|
|
|
|
[ Image ( "" , [] , [] ) [] ( "foo.png" , "fig:voyage" ) ]
|
|
|
|
]
|
2017-07-22 19:22:56 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<figure>
|
|
|
|
<p><img src="foo.png" title="voyage"></p>
|
|
|
|
<figcaption>bar</figcaption>
|
|
|
|
</figure>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Image
|
|
|
|
( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" )
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2017-07-22 19:22:56 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f html -t native
|
|
|
|
<figure><img src="foo.png" title="voyage" alt="this is ignored"><figcaption>bar <strong>baz</strong></figcaption></figure>
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Image
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Str "bar" , Space , Strong [ Str "baz" ] ]
|
|
|
|
( "foo.png" , "fig:voyage" )
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2017-07-22 19:22:56 +02:00
|
|
|
```
|