Summary. This note describes a system for writing quizzes (multiple-choice questions) in a compact text format with support for mathematics, computer code, and flexible formatting. The text format can be automatically translated to HTML and to a Python data structure. The HTML can be rendered directly in web pages, and the data structure can (in the future) be fed to online quiz/survey services a la Kahoot, JotForm, and Google forms.