This blog post shows a trick for showing/hiding parts of the markdown (which could be applied to exercise answers).
That solution works for R, but perhaps not quite the same for python-based courses.
Would be good to explore whether this can be somehow applied to the callout extension, for example having a conditional that looks at the YAML parameters and adds the extra .content-hidden class to the callout box.
This blog post shows a trick for showing/hiding parts of the markdown (which could be applied to exercise answers).
That solution works for R, but perhaps not quite the same for python-based courses. Would be good to explore whether this can be somehow applied to the callout extension, for example having a conditional that looks at the YAML parameters and adds the extra
.content-hidden
class to the callout box.