summaryrefslogtreecommitdiff
path: root/test/command/video-audio.md
diff options
context:
space:
mode:
authormb21 <mb21@users.noreply.github.com>2019-05-11 18:54:43 +0200
committermb21 <mb21@users.noreply.github.com>2019-05-29 09:43:50 +0200
commita58304e00edc3c7d78c352c379e843cb908e6887 (patch)
tree7ff97b4bdeddb03c1fef74299be7c9e370842061 /test/command/video-audio.md
parent47249b05c4345a40353a37f4b7f7170aa2ea5773 (diff)
HTML writer: output video and audio elements
depending on file extension of the image path
Diffstat (limited to 'test/command/video-audio.md')
-rw-r--r--test/command/video-audio.md19
1 files changed, 19 insertions, 0 deletions
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
+<p><video src="./test.mp4" controls=""><a href="./test.mp4">Video</a></video></p>
+<p><video src="foo/test.webm" width="300" controls=""><a href="foo/test.webm">Your browser does not support video.</a></video></p>
+<p><audio src="test.mp3" controls=""><a href="test.mp3">Audio</a></audio></p>
+<p><embed src="./test.pdf" /></p>
+<p><img src="./test.jpg" /></p>
+```
+