see all options in https://
in particular there is a hidden attribute that may come in handy but I have not explored in depth yet
native MyST exercise¶
here’s a sample
native MyST solution¶
here’s a sample solution for the above exercise; the error here seems to be an
artefact of using the myst directive, but the syntax is correct, and the
exo-labellink would point back to the exercise
hidden exercise and solution¶
none hidden¶
hidden solution¶
hidden exercise¶
both hidden¶
before this feature¶
before that we have used an admonition with a seealso class
I don’t have a very stable way to present solutions, here’s one suboptimal way to do it with a
:class: dropdown warning directive
solution
the solution