Looking for how to add Jupyter Notebook in WordPress? I am using the plugin called nbconvert.
- Install WP Pusher plug-in (https://wppusher.com/)
- Visit https://github.com/ghandic/nbconvert , copy CSS and add to WordPress page. WP Admin > Appearance > Customize > Additional CSS
- Install nbconvert plug in using WP Pusher and Activate it. Plugins > WP Pusher > Install Plugin > copy and paste ‘ghandic/nbconvert’ repository into Plugin repository and click install plugin
Example
Here is an example. Enter a single Shortcode like following in text block. It displays Jupyter Notebook as an example below.
[nbconvert url="https://github.com/dannyyun/covid_forecast/blob/main/COVID_forcast.ipynb" /]