diff options
| author | John MacFarlane <[email protected]> | 2025-04-05 11:31:35 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-04-05 11:32:29 -0700 |
| commit | 0d2114ee4e3974583ee84e8a4e992562d6502f66 (patch) | |
| tree | 4c70996d39bb8b31ded1284c467217b0ae47c32a /test/command/10758.md | |
| parent | 0cf41697c583539d62b1baeaa9cac18c8931866c (diff) | |
Markdown writer: improve use of implicit figures when possible.
Closes #10758.
When the alt differs from the caption, but only as regards
formatting, we still use an implicit figure.
Diffstat (limited to 'test/command/10758.md')
| -rw-r--r-- | test/command/10758.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/10758.md b/test/command/10758.md new file mode 100644 index 000000000..885d26413 --- /dev/null +++ b/test/command/10758.md @@ -0,0 +1,21 @@ +``` +% 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 + +``` |
