Github can interpret ipynb format, so you can [view] the files on Github ((https://github.com/blog/1995-github-jupyter-notebooks-3)). However, Bitbucket doesn't seem to have that feature yet (link to Issue (https://bitbucket.org/site/master/issues/11318/enable-rich-rendering-of-jupyter-notebooks)).
If you have a local ipynb file, you can view the contents in your browser with the following command.
jupyter nbconvert filename.ipynb --stdout > tmp.html; firefox tmp.html
--Generate an HTML file using the nbconvert
command and open it in your browser
--Please change the place called filename.ipynb
to the file you want to view.
--A file called tmp.html
will be created, so delete it as appropriate.
--Please change the part of firefox
to your favorite browser
Jupyter is required. Please refer to here etc. for installation.
Recommended Posts