QuizQuestions
QuizQuestions allows the inclusion of self-grading quiz questions within a Documenter, Weave, quarto, or Pluto HTML page.
A few examples:
Basics
The basic idea is:
- load the package:
using QuizQuestions
using LaTeXStrings # helper for using math notation- create a question with
Juliacode:
choices = ["one", L"2", L"\sqrt{9}"]
question = "Which is largest?"
answer = 3
radioq(choices, answer; label=question, hint="A hint")