Hi everyone
I am creating a "textbook" using R Markdown. What a fantastic resource!
It works really well (so far!), but I have two questions (I will post one here, and one in a new thread).
My first question: I would really like to be able to do is include interactive quizzes like that used in package learnr
. I don't mind if it is learnr
or not... but learnr
look fantastic: multiple choice, multiple options, feedback, timing, etc.
I can happily create a learnr
tutorial. But I would like that functionality in my bookdown document.
I have tried loading the learnr
package, and including quizzes, but I cannot get anything to work: The quizzes never show, and including the required runtime: shiny_prerendered
in the YAML header makes the whole bookdown document rendered incorrectly (and still no quizzes anyway).
So: Is it possible to include quizzes in a bookdown document (using `learnr1 or otherwise)? If so, how? It's all new to me, so details would be appreciated. Searches haven't helped me. Maybe it is just not possible.
(Of course,I am mainly thinking or HTML output.)
Thanks for help.
BSP