Export to pdf

open .ipynb in your jupyter notebook (via command line).

cmd + p


other methods see https://stackoverflow.com/questions/36916093/convert-ipynb-to-pdf-in-jupyter#:~:text=Download%20your%20ipynb%20file%20as,Save%20as%20PDF