In order to share (a static version of) your IPython / Jupyter notebook on your WordPress site, follow three straightforward steps.
Step 1: Let’s say your Jupyter Notebook looks like this:
Open this notebook in a text editor and copy the content which may look like so:
Step 2: Ctrl + A and Ctrl + C this content. Then Ctrl + V this to a GitHub Gist that you should create, like so:
Step 3: Now simply Create public gist and embed the gist like you always embed gists on WordPress, viz., go to the HTML editor and add like so:
I followed the exact steps that I’ve mentioned above to get the following result:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.