I have never understood why the "In[5]" and "Out[5]" in jupyter have to be so prominent, even in a output like this.
Show HN: A tool to convert Jupyter notebooks to beautiful blogs
21–30 of 38 posts
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#22I have never understood why the "In[5]" and "Out[5]" in jupyter have to be so prominent, even in a output like this.
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#23I have never understood why the "In[5]" and "Out[5]" in jupyter have to be so prominent, even in a output like this.
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#24I have never understood why the "In[5]" and "Out[5]" in jupyter have to be so prominent, even in a output like this.
The numbers track the order that the cells were executed in. So, strictly speaking, you need the numbers to be able to reproduce the output of the notebook's author. However, I think it's bad practice and pretty uncommon to publish a notebook where you need to execute the cells out of order. So most of the time the numbers aren't useful.
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#25I have never understood why the "In[5]" and "Out[5]" in jupyter have to be so prominent, even in a output like this.
_5 is a magic variable with the value of the output from cell 5. _ refers to the last output. Super handy when working interactively.
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#26Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#27Did something go wrong here? https://pykancha.github.io/test/2019/selenium_p1.html
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#28I have never understood why the "In[5]" and "Out[5]" in jupyter have to be so prominent, even in a output like this.
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#29Nice. I have been using gitlab CI and a simple Python script to publish my notes (usually in markdown and Jupyter notebooks) to Gitlab pages. You can find the output on http://avilay.gitlab.io/gyan . And if you want to reuse the code you can find it in https://gitlab.com/avilay/gyan/blob/master/publisher/publish... . Will surely check out your stuff.
Re: Show HN: A tool to convert Jupyter notebooks to beautiful blogs
#30Cool, but I would rather use a better supported static site generator with an ipynb plugin (ie, https://github.com/danielfrg/pelican-ipynb ) than a tool just for notebooks. Especially because this looks like an nbconvert workflow under the hood.
It is, however I convert it to the most basic html and add custom css and js to it. So that I can change it to whatever I want. I don't see any problem with that maybe you could point some out.
I didn't go with pelican(or any static gen) because the build times will be much slow later on as blogs increase [1] as this guy faced. I like to configure a lot of things manually and don't want the burden of static gen if that make sense to you. I just needed a converter.
1. https://nipunbatra.github.io/blog/2017/Jupyter-powered-blog....