How to get as an ouput an ipynb document with answers without code (not just with echo: false) #7127
Unanswered
finkelshtein
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Use conditional content, project profile, and directly target the Jupyter Notebook format if you don't want HTML ![]() |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi,
I would like to have as an output a ipynb file to let students work with it, and I also want to let them compare the answer they obtain with the correct one. However, I want to hide the code from them.
It obviously works for HTML output
However, the kept ipynb (naturally) contains the code of the last cell. What I want is to get in the results ipynb, instead of the last cell, a markdown cell with just 4 there.
Does there exist a way to do this?
Beta Was this translation helpful? Give feedback.
All reactions