rstudio/revealjs

Document limitation of self-contained with Pandoc

cderv opened this issue · 0 comments

cderv commented

It seems there are several cases to consider. This issues aims to compile the different one we found:

  • data-background is not to be used: use the long form as documented https://revealjs.com/backgrounds/

  • Seems like pandoc won't encode a global setting passed in YAML header

  • Some attributes are not base64 encoded by Pandoc (yet ?)

    • data-background-video: This attributes is transformed as <video> tag by reveal.js. This element has src= so it usually gets picked up by Pandoc, but not in this case because of JS post processing.
    • data-background-iframe: This is transformed by revealjs as an <iframe> element. This element has data-src= so it usually gets picked up by Pandoc, but not in this case because of JS post processing.
  • Base64 encoded URI in data-background-image are not working for reveal.js 4.1.1 to 4.1.3.