The schema for questions used in mdbook-quiz
. Intended to be deserialized from a TOML file.
See [Quiz
] as the top-level type. Here is an example of a quiz:
[[]]
= "b230bed3-d6ba-4048-8b06-aa655d837b04"
= "MultipleChoice"
= "What is 1 + 1?"
= ["1", "3", "**infinity**"]
= ["2"]
= """
Consult your local mathematician for details.
""""
Note that all Rust identifiers with multiple words (e.g. does_compile
) use camelCase keys,
so should be written as doesCompile
in the TOML.