From d81c3af3b327b37faacc5d434cadc17f46ebd829 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 17 May 2026 17:27:02 +0200 Subject: [PATCH] =?UTF-8?q?fix(build-slides):=20marp=20--output=20rejects?= =?UTF-8?q?=20multiple=20inputs=20=E2=80=94=20iterate=20per=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- build-slides.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-slides.sh b/build-slides.sh index 5e9732d..d0653de 100755 --- a/build-slides.sh +++ b/build-slides.sh @@ -31,7 +31,10 @@ chmod 777 "$TEMP_OUTPUT" trap "rm -rf '$TEMP_OUTPUT'" EXIT if command -v marp &>/dev/null; then - marp --html --output "$OUTPUT_DIR/" "${SLIDES[@]}" + for slide in "${SLIDES[@]}"; do + BASENAME=$(basename "${slide%.*}") + marp --html --output "$OUTPUT_DIR/${BASENAME}.html" "$slide" + done else echo "marp not found locally — using Docker (marpteam/marp-cli)..." for slide in "${SLIDES[@]}"; do