How to Include Jupyter Notebooks in WordPress

So, you’ve just exported your Jupyter notebook as a .html file, and are about to embed it in your WordPress post. While it may be tempting to just copy and paste the generated html code in a custom html code block, you’ll probably find out pretty quickly that doing so entirely messes up the css of your theme, leading to issues like the sidebar loading at the bottom of the page instead of at the side, fonts and font colours being altered in unexpected ways, etc....

December 30, 2020 · 4 min · Infinus