38 lines
581 B
Markdown
38 lines
581 B
Markdown
```
|
|
% pandoc -f html -t native
|
|
<figure>
|
|
<img src="foo" alt="bar">
|
|
</figure>
|
|
^D
|
|
[ Para [ Image ( "" , [] , [] ) [] ( "foo" , "fig:" ) ] ]
|
|
```
|
|
|
|
```
|
|
% pandoc -f html -t native
|
|
<figure>
|
|
<img src="foo" alt="bar">
|
|
<figcaption>
|
|
<div>
|
|
baz
|
|
</div>
|
|
</figcaption>
|
|
</figure>
|
|
^D
|
|
[ Para
|
|
[ Image ( "" , [] , [] ) [ Str "baz" ] ( "foo" , "fig:" ) ]
|
|
]
|
|
```
|
|
|
|
```
|
|
% pandoc -f html -t native
|
|
<figure>
|
|
<img src="foo">
|
|
<figcaption><p><em>baz</em></p></figcaption>
|
|
</figure>
|
|
^D
|
|
[ Para
|
|
[ Image
|
|
( "" , [] , [] ) [ Emph [ Str "baz" ] ] ( "foo" , "fig:" )
|
|
]
|
|
]
|
|
```
|