styles icon indicating copy to clipboard operation
styles copied to clipboard

Optional dropdown section

Open bkmgit opened this issue 3 years ago • 2 comments

It would be helpful to have a collapsible dropdown section for optional items to be included at instructor discretion. The styling for {: .solution} can be used as a starting point for this, modifying the title to optional and the color.

bkmgit avatar May 07 '21 05:05 bkmgit

It's definitely doable but what are use cases for such a collapsible section?

maxim-belkin avatar May 07 '21 14:05 maxim-belkin

I think this feature would be really useful as well! Jupyter Book has a nice implementation where the title of the dropdown can also be customized.

I think it would help with focusing attention. You could add a hidden "Find out more" section that may go beyond the scope of the lesson but curious learners are welcome to try it out on their own time. Or if you had some code or functions being used to download data or for visualizations (any bits that act as a helper for the lesson but aren't integral to the core objectives), they could also be added here.

josephmje avatar May 14 '21 20:05 josephmje