feature: add brightspot rendering in question

This commit is contained in:
Matthias Jung
2026-02-14 00:35:03 +01:00
parent e9643b8944
commit 0e9a4dceac
3 changed files with 36 additions and 1 deletions
+3
View File
@@ -103,6 +103,8 @@ class Build:
picture_question = ""
alt_text_question = ""
brightspot_file = self.config.p_data_brightspots / f"{number}.md"
return question_template.render(
question=question["question"],
number=number,
@@ -112,6 +114,7 @@ class Build:
answer_pictures=answer_pictures,
alt_text_answers=alt_text_answers,
alt_text_question=alt_text_question,
brightspot=brightspot_file.exists(),
)
def __build_question_slide(self, input):