The easiest option to view Jupyter Notebooks in Confluence is by using this method. It's also very secure and fast as notebooks are saved as attachments in parent pages.

Here is step by step guide to use this method.

Select 'Jupyter/IPython Notebooks from files' in Macro browser

You should see following dialog.


Upload .ipynb files from your computer