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
All the above answers seems outdated. Here is the most modern solution taken from the official nbconvertdocs.
$ jupyter nbconvert --to FORMAT notebook.ipynb
The default output format is html, for which the --to argument may be omitted:
$ jupyter nbconvert notebook.ipynb
One step further from the answer above. To create a PDF file,
create a tex file
nbconvert -f latex your_notebook.ipynb
convert tex to pdf :
pdflatex your_notebook.tex
Click on file > Download > html
The right way is described in: http://blog.fperez.org/2012/09/blogging-with-ipython-notebook.html. Then you can do nbconvert -f blogger-html your_notebook.ipynb to get the html code for your post.