Someone knows how to use templates while exporting Jupyter notebook to PDF with nbconvert? Where did I get templates?
Thanks
A few built-in formats are available by default: html, pdf, webpdf, script, latex
You can use the below code to export your code to a pdf:
$ jupyter nbconvert --to FORMAT notebook.ipynb
This generates notebook.ipynb, with the FORMAT you want.
Also, you can also extract the code from a notebook into an executable script, ie, for an iPython notebook extract the Python code cells into a Python script:
$ jupyter nbconvert --to script my_notebook.ipynb
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.