Add ability to hide code and display outputs
Hi everyone and first of all thanks for this wonderful library 👏 !
I just would have a feature request which consist to be able to hide the code and only show the output.
For example I would like to be able to compute and display plots at runtime without having to show the code.
Thanks!
If we add a :class: sphinx-gallery-code or .. rst-class:: to the literal block just like we have for sphx-glr-script-out, it would be easy for you to add a CSS rule with visibility: hidden for it. @tkaraouzene are you up for making a PR to add this class to the code block literals?
Hi @lamby and thank you for your answer.
I'm not sure to fully understand what I have to do but I'll try to do it as soon as possible.
I think you meant to ping @larsoner here :)