From a58304e00edc3c7d78c352c379e843cb908e6887 Mon Sep 17 00:00:00 2001 From: mb21 Date: Sat, 11 May 2019 18:54:43 +0200 Subject: HTML writer: output video and audio elements depending on file extension of the image path --- test/command/2662.md | 2 +- test/command/3450.md | 2 +- test/command/4012.md | 2 +- test/command/4677.md | 2 +- test/command/5121.md | 2 +- test/command/video-audio.md | 19 +++++++++++++++++++ 6 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 test/command/video-audio.md (limited to 'test/command') diff --git a/test/command/2662.md b/test/command/2662.md index 543209053..74e075c2d 100644 --- a/test/command/2662.md +++ b/test/command/2662.md @@ -7,5 +7,5 @@ :scale: 300 % :alt: alternate text ^D -

alternate text

+

alternate text

``` diff --git a/test/command/3450.md b/test/command/3450.md index 5b35e1d9e..5ccfd05ff 100644 --- a/test/command/3450.md +++ b/test/command/3450.md @@ -2,7 +2,7 @@ % pandoc -fmarkdown-implicit_figures ![image](lalune.jpg){height=2em} ^D -

image

+

image

``` ``` % pandoc -fmarkdown-implicit_figures -t latex diff --git a/test/command/4012.md b/test/command/4012.md index 579ee2459..602c23219 100644 --- a/test/command/4012.md +++ b/test/command/4012.md @@ -4,5 +4,5 @@ pandoc -f markdown-implicit_figures [image]: http://example.com/image.jpg {height=35mm} ^D -

image

+

image

``` diff --git a/test/command/4677.md b/test/command/4677.md index 11a62fd08..482db4c02 100644 --- a/test/command/4677.md +++ b/test/command/4677.md @@ -3,6 +3,6 @@ ![Caption](img.png){#img:1} ^D
-
Caption
+
Caption
``` diff --git a/test/command/5121.md b/test/command/5121.md index 0f45c4afe..42f2fdea2 100644 --- a/test/command/5121.md +++ b/test/command/5121.md @@ -5,7 +5,7 @@ ## Header 2 ^D
-
My caption
+
My caption
Header 2 diff --git a/test/command/video-audio.md b/test/command/video-audio.md new file mode 100644 index 000000000..451b614d8 --- /dev/null +++ b/test/command/video-audio.md @@ -0,0 +1,19 @@ +``` +% pandoc -f markdown-implicit_figures -t html +![](./test.mp4) + +![Your browser does not support video.](foo/test.webm){width=300} + +![](test.mp3) + +![](./test.pdf) + +![](./test.jpg) +^D +

+

+

+

+

+``` + -- cgit v1.2.3