These are interactive quizzes that I've created over the years, mostly about films and music.
questions:
(path/to/quiz): # Path to quiz
title: Title of the quiz
date: 2006-05-24 # Date the quiz was authored,
blog: https://www.s-anand.net/blog/movie-jigsaw-quiz-1/ # URL of the blog post
body: ... # Quiz description in Markdown
transform: mapTamil # Transformation function. Can be `mapEnglish`, `mapTamil`, or `mapHindi`
questions: # List of questions, each in Markdown. For example:
- "[Song 1](AMRaja-01.opus)" # Links open in a new window
- "[Jigsaw 1](j01.jpg)" # `j*.jpg` are treated as jigsaw puzzles
- "Any other Markdown content"
ANSWERS_BASE64
, created via base64 .secret.answers.yaml
with this structure:answers:
(path/to/quiz): # Path to quiz
- (answer 1)
- (answer 2)
- ...
generate.js
generates the HTML files from the YAML files.?embed=1
to the URL hides the header, footer, and body.