r-wasm / quarto-live

WebAssembly powered code blocks and exercises for both the R and Python languages in Quarto documents
https://r-wasm.github.io/quarto-live/
MIT License
106 stars 7 forks source link

Progressive reveal #8

Open georgestagg opened 2 months ago

coatless commented 2 months ago

Progressive reveal implementation from learnr: https://github.com/rstudio/learnr/blob/aeb8144f5335a1132dbb1c0a0302fd2f3e94b875/learnr-js/format/tutorial-format.js#L88


Cell option specification of unveil from egenn:

https://github.com/egenn/quarto-webr/blob/2230b0749ee7cec04d1203ac74806d3145cdfff1/_extensions/webr/qwebr-compute-engine.js#L337

Demo: https://rtemis.org/pdsx/rdemo.html


Andrew's use of a custom progressive-reveal.js file for the R primer project:

https://github.com/andrewheiss/r-primers/blob/main/js/progressive-reveal.js