I have a jupyter notebook that is a mixture of markdown and code. In the end I want to render it out as a pdf report and hide the code. I still want to see the output of t
Please read How to print out from Jupyter Notebook without code blocks.
Basically you need to add CSS.
If you want to print out with code use @media print{}
. If you want it on the screen, you need to take it out and just run it.
Paste the following in a cell and run it. Then print it out from a browser File > Print. All codes and output blocks should be gone.
%%html