Zheng Yi Sao Quiz

rquiz Demo - RevealJS Presentation

Saskia Otto

2026-03-26

About this demo

  • This presentation demonstrates the three quiz functions from the rquiz package — singleQuestion(), multiQuestions(), and fillBlanks() — with quizzes about Zheng Yi Sao. If you don’t know who that is, give the quizzes a try.. 😀
  • Each quiz type is shown twice: first with default settings, then with a custom dark revealjs theme applied via rquizTheme().

Tipps

  • For longer quizzes in revealjs, you can add {.scrollable} to individual slides, enable scrolling globally in the YAML header, or set scroll = TRUE with a fixed quiz height.
  • To style text within questions (e.g. names in italics), use HTML tags such as <em> (italics), <strong> (bold), <code> (inline code) or <span> with inline CSS directly in the question or answer option strings.

Single Question

singleQuestion() | Default settings

This single-choice question uses the default rquiz styling. The answer options are shuffled each time when rendering this document. Scroll down to see more.

Single Question

singleQuestion() | Revealjs theme

The same quiz with a dark revealjs theme (gold/pink accents) applied via rquizTheme() and a fixed height and scrolling set to true inside.

Multi-Question Quiz

multiQuestions() | Default settings

Navigate through the questions with Previous/Next. Your score is shown at the end.


Multi-Question Quiz

multiQuestions() | Revealjs theme

The same multi-question quiz with the dark revealjs theme.

Fill in the Blanks

fillBlanks() | Default settings

Type the missing words into the blank fields. Click Submit to check your answers.

Fill in the Blanks

fillBlanks() | Revealjs theme

The same fill-in-the-blank quiz with the dark revealjs theme.