How to embed Jupyter Notebook code into your Medium article
1 min readMay 24, 2020
Have your Jupyter notebook code ready:
Open github.com and go to “My Gists”:
Click on “+” at the top right corner to create a new gist:
Drag and drop your code.ipynb into the text box:
Now you are all set. Either click “Create Secret gist” or “Craete public gist” depending on your need.
Then copy and paste the link and you will see the code in Medium.