evilz / vscode-reveal

Revealjs vsCode extension
https://marketplace.visualstudio.com/items?itemName=evilz.vscode-reveal
MIT License
451 stars 145 forks source link

Where do we put the `revealjs` options? #1259

Closed ericthomas1 closed 1 year ago

ericthomas1 commented 1 year ago

Hello,

I want to experiment with the revealjs.parallaxBackgroundImage option, but its unclear to me where to put this?

I tried putting it in the frontmatter on the slide, but this didn't work.

---
revealjs.parallaxBackgroundImage : "https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg"
---

Also tried putting it directly into the slide (without the yml frontmatter designators ---) , but this didn't work.

Where should this go?

ericthomas1 commented 1 year ago

Please disregard, I was able to figure it out: Simply remove the revealjs. and place the option in the front matter of the given slide.

---
parallaxBackgroundImage : "https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg"
---