From 0ab311f66d6f3cb0b4d87c47e082d53fd67bb502 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 17 Oct 2026 20:26:49 +0200 Subject: support writing moodle tests in markdown --- scripts/lesson-make | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/lesson-make b/scripts/lesson-make index d5639b7a..3c6a4890 100755 --- a/scripts/lesson-make +++ b/scripts/lesson-make @@ -22,6 +22,9 @@ if [[ -z "${targets[*]}" ]]; then slides*.md) new_targets+=("${source_name/.md/.pdf}" "${source_name/.md/.pptx}") ;; + moodle-quiz.md) + new_targets+=("${source_name/.md/.xml}") + ;; *) mapfile -t new_targets < <(echo "${source}" | sed -e 's/\.tex$/.pdf/g' -e 's/\.md$/.pdf/g') ;; @@ -43,4 +46,3 @@ if [[ -z "${targets[*]}" ]]; then fi exec make -f "${MAKEFILE}" "${targets[@]}" - -- cgit v1.2.3