How to export an IPython notebook to HTML for a blog post?

前端 未结 4 1582
离开以前
离开以前 2020-12-05 02:31

What is the best way to get an ipython notebook into html format for use in a blog post?

It is easy to turn an ipython notebook into a PDF, but I\'d rather publish a

4条回答
  •  暖寄归人
    2020-12-05 02:44

    One step further from the answer above. To create a PDF file,

    1. create a tex file

      nbconvert -f latex your_notebook.ipynb
      
    2. convert tex to pdf :

      pdflatex your_notebook.tex
      

提交回复
热议问题