quarto-iframe-examples
quarto-iframe-examples copied to clipboard
unclear instructions
Hi Emil,
I followed your slide's instructions but found them unclear, perhaps just me, but I finally figured out what i was doing wrong.
Here are the steps I did to get the hello-matrix to work.
- create a folder, like "quartoSlide"
- create
index.qmd,index.html,style.css - create a folder inside the quartoSlide folder, name it
hello-matrixor whatever the template folder name is that you want - download iframe zip file template
- copy the
index.html,style.cssandscript.jsfiles into thehello-matrix/or other folder named above
inside the index.qmd for simple setup :
---
title: 'Quarto Slide'
author: 'R user'
format: reveal.js
---
# {background-iframe="hello-matrix/index.html"}
::: {style="background-color: #00ff00; color:'#000'; border-radius: 10px; padding: 5px;"}
hey there
:::
my file structure is:
slides/
-
hello-matrix/
- index.html
- script.js
- style.css
-
index.html
-
index.qmd
-
style.css
thanks for the repo .