2 ms·
Ask HN: 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.
- Jugurtha 5y agoHave you looked into https://github.com/fastai/fastpages 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/2020/01/20/this-blog-post-was-written-in-a-jupyter-notebooks.html https://www.scottcondron.com/jupyter/blogging/visualisation/... Found by searching for "jupyter notebook to blog"
- max_hammer 5y agoYou 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-python.html https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-... 2. https://orgmode.org/manual/Publishing.html https://orgmode.org/manual/Publishing.html