mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-03 06:05:45 +00:00
Closes #10758. When the alt differs from the caption, but only as regards formatting, we still use an implicit figure.
22 lines
401 B
Markdown
22 lines
401 B
Markdown
```
|
|
% pandoc -f native -t markdown
|
|
[ Figure
|
|
( "" , [] , [] )
|
|
(Caption
|
|
Nothing
|
|
[ Para [ Str "Foo" , Space , Emph [ Str "emphasis" ] ] ])
|
|
[ Plain
|
|
[ Image
|
|
( ""
|
|
, []
|
|
, []
|
|
)
|
|
[ Str "Foo" , Space , Str "emphasis" ]
|
|
( "media/rId20.jpg" , "" )
|
|
]
|
|
]
|
|
]
|
|
^D
|
|

|
|
```
|