HACKER Q&A
📣 Takizawamura

Convert Jupyter Notebook into Static Site Blog Post?


Anyone have success with converting Jupyter Notebooks into Static Site blog posts? Any thoughts on which Static Site Generator would work well for that?

At first I was thinking of Pelican or Nikola given my experience with Python.


  👤 max_hammer Accepted Answer ✓
You can convert Notebook to html using below command.

`jupyter nbconvert --to html notebook.ipynb`

Alternative : Emacs org mode babel supports literate programming[1]. Which can be easily converted static blog using org-publish.[2]

1. https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-...

2. https://orgmode.org/manual/Publishing.html


👤 Jugurtha
Have you looked into https://github.com/fastai/fastpages

From the readme:

>An easy to use blogging platform, with support for Jupyter notebooks, Word docs, and Markdown.

There's also that: https://www.scottcondron.com/jupyter/blogging/visualisation/...

Found by searching for "jupyter notebook to blog"