Reputation: 555
I created and saved a notebook using Jupyter notebooks. I then proceeded to create a github gist of this notebook. However, the notebook is not being rendered in the gist. I can only see the raw code. I have included the link to my gist below:
https://gist.github.com/adikamath/26ae33d4fd613d716cdf01697130e675
I know that GitHub provides advanced support for ipnyb since some time now and I don't have to use a service like nbviewer to see it rendered. Any help is appreciated.
Upvotes: 15
Views: 9301
Reputation: 21
The below steps worked for me:
Upvotes: 2
Reputation: 41
Actually, I encountered a very similar problem, which did not change by copying or drag/dropping the file. The simple but somehow strange cure was to first close the jupyter notebook and then upload the notebook on gist (by drag&drop, but I think it does not matter).
Upvotes: 2
Reputation: 205
Just add.ipynb to gist file name. By default it saves as .txt file. Commit your file, you will be able to see it in form of jupyter notebook
Upvotes: 4
Reputation: 555
I was able to make it work! Instead of copying the code from the .ipnyb file into the gist window, I dragged & dropped the whole file into the gist window and the gist renders it OK!
Upvotes: 29