diff options
Diffstat (limited to 'test/command/figures-markdown.md')
| -rw-r--r-- | test/command/figures-markdown.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/figures-markdown.md b/test/command/figures-markdown.md new file mode 100644 index 000000000..4d3ea4185 --- /dev/null +++ b/test/command/figures-markdown.md @@ -0,0 +1,12 @@ +Figure float with caption at the figure level. + +``` +% pandoc -f native -t markdown +[Figure ("fig-id",[],[]) (Caption Nothing [Para [Str "Caption"]]) [Para [Image ("",[],[]) [] ("foo.png", "fig:")]]] + +^D +<figure id="fig-id"> +<p><img src="foo.png" title="fig:" /></p> +<figcaption><p>Caption</p></figcaption> +</figure> +``` |
