Skip to content

Instantly share code, notes, and snippets.

@jronallo
Last active August 29, 2015 13:57
Show Gist options
  • Save jronallo/9370044 to your computer and use it in GitHub Desktop.
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
$ ~/.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
<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