Tag Archives: jupyter

WordPress displaying Jupyter notebook

I could not find any plugin but a step-by-step guide at a blog commentary

1. Download your notebook as .ipynb file
2. Upload to https://jsvine.github.io/nbpreview/
3. Open your browser dev tools and copy the element id=”notebook-holder” from the DOM
4. Paste it in your WordPress post as raw text
5. Grab CSS from  https://jsvine.github.io/nbpreview/css/vendor/notebook.css

Maybe a true notebook in an iframe is a better solution?