Question blocks

Each section can hold question blocks alongside text and images. Pick a type from the Add question menu; every type is colour-coded so it's easy to scan the lesson at a glance. The types, their shape, and their colours live in one place, src/lib/questions.js, so the editor and both exporters stay in sync.

TypeColourWhat it captures
Number answerpurpleA single numeric answer.
Single answergreenA list of options with exactly one correct choice.
Multiple answersorangeA list of options with any number of correct choices.
Open endedpinkA free written response (exported with a blank line to write the answer on).
Background knowledgeblueA prompt plus the prior knowledge a student needs to answer it.

Questions are rendered into the DOCX (and therefore the printed PDF) with their prompt, options, answer markers, and blank lines, so the exported lesson is ready to print and use.