Replies: 6 comments 4 replies
-
|
I would suggest you embed the JavaScript library as a Quarto extension, see https://quarto.org/docs/extensions/creating.html. |
Beta Was this translation helpful? Give feedback.
-
|
I recently noticed that this online book features a little quiz at the end of many pages; it uses QuizQuestions.jl so it's relying on Julia, but that might be an inspiration even if you're using a different language. |
Beta Was this translation helpful? Give feedback.
-
|
I was just researching the same question and came accross this blogpost: https://web.mat.upc.edu/joaquim.puig/posts/webexercises-quiz/ It uses the R package webexercises. |
Beta Was this translation helpful? Give feedback.
-
|
Someone made a quarto extension for this https://github.com/nareal/naquiz. I'm curious to hear if there are any plans to support something like this natively in Quarto? |
Beta Was this translation helpful? Give feedback.
-
|
For anyone still looking for a solution: I recently published the R package It offers three quiz types:
library(rquiz)
singleQuestion(
question = "Which function reads a CSV file in base R?",
options = c("read.csv()", "load.csv()", "import.csv()", "open.csv()"),
answer = 1
)No Shiny server needed — it's pure Vanilla JavaScript, so it works in any
|
Beta Was this translation helpful? Give feedback.
-
|
For reference: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am interested in inserting a quiz (rendered using something like surveyjs) in a quarto document. Any pointers on how to get it working would be highly appreciated.
thanks, Ranjeet.
Beta Was this translation helpful? Give feedback.
All reactions