-
DescriptionI have a notebook where I want to manage statements of problem set quetsions as well as the solutions, but easily flip off the solutions before giving the assignment. For code, I am doing something like the following:
And then I switch the For more text based quetsions I am adding in something like the following, which tells people to doubleclick on a cell to add an answer like the following:
The problem is that I don't know how to add in a Any tricks here? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Try this: https://quarto.org/docs/authoring/conditional.html |
Beta Was this translation helpful? Give feedback.
-
Perfect, thanks. For anyone else who reads this, here is my full solution:
Ask some question to be edited in the jupyter notebook
Then I use a bash script to swap content-visible to content-hidden and back when calling the notebook rendering |
Beta Was this translation helpful? Give feedback.
-
Very cool. How do you use the
And flipping that Edit: or can you wrap that whole code block in a cell? I mostly care about jupyter output here |
Beta Was this translation helpful? Give feedback.
Try this: https://quarto.org/docs/authoring/conditional.html