I would like to only export to PDF the output - not the actual code - of specific cells that I have in my open Jupyter Notebook kernel.
I already ran the code, so when I open the notebook, the output is already there. I simply want to extract the output of 5 different cells (out of around 20) into a PDF to make it easier to share.
I tried to download latex, nbconvert using jupyter notebook tags on the cells whose output I want to extract (tag = "pdf-extract") or pip import hide_code but honestly nothing works.
I also tried using this HTML code but then I cannot 'go-backwards' and need to restart the whole kernel to see the code again... losing all output too :-(
%%html
<style>
div.input {
display:none;
}
</style>
I've also tried Mercury, but getting the 'Waiting for worker...' message after trying to load my ipynb.
Seems like such a simple request, but seriously hard to do for me.
I would like the output to be in PDF format and for the code not to be run again. The output is already in the kernel, all I need is to extract it into a PDF.
Any help would be really appreciated!