Last active
August 29, 2015 13:57
-
-
Save jronallo/9370044 to your computer and use it in GitHub Desktop.
pandoc does not convert poster images into data-URIs when using --self-contained
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/.cabal/bin/pandoc --version | |
pandoc 1.12.3.3 | |
$ ~/.cabal/bin/pandoc -w dzslides --standalone --self-contained ~/tmp/pandoc-poster-image-test.md > ~/tmp/pandoc-poster-image-test.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section id="slide-1" class="slide level1" aria-selected="true"> | |
<h1>Slide 1</h1> | |
<video preload="auto" loop="loop" src="data:video/mp4;base64,AAAA...AAA4" type="video/mp4" poster="data:image/png;base64,iVBOR...YII=" width="320" height="320"></video> | |
</section> | |
<section id="slide-2" class="slide level1"> | |
<h1>Slide 2</h1> | |
<figure> | |
<img src="data:image/png;base64,iVBOR...YII="> | |
</figure> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment