Support Center
v1.0
English
Jupyter Notebook
To embed a Jupyter Notebook to a page, you can do so with Custom HTML, or using GitHub Code if the notebook is hosted on GitHub.
How to Embed a Jupyter Notebook using Custom HTML?
To embed a Jupyter Notebook:
Export it to HTML. To export it, after you run your notebook, run the following command in your workspace:
import os
os.system('jupyter nbconvert --to html yourNotebook.ipynb')
An HTML version of your Jupyter Notebook would be generated in the workspace. Download the HTML file locally.
Open the HTML file and copy its contents.
Create a new Custom HTML block in the page where you want to embed a Jupyter Notebook.
Paste the HTML into it.
Example
Last updated by Zaid Daba'een on Oct 18, 2022
Was this page helpful?
Need help? Visit our community forums or contact us.
Getting Started
Publishing & Hosting
Access & Audiences
Search & Insights