Is it possible to nest cells in a jupyter notebook? I would like to be able to collapse and expand sections of a notebook, or cut/paste entire sections.
I'm looking for functionality like that in Mathematica, for example.
Related
I've googled a bit but everything points to the Jupyter notebook, not vscode and was just wondering if there are any resources available on how to use these cell tags in VSCode. Simply copying a tag in doesnt seem to do anything in my notebook.
So basically 2 questions:
How do you use this tab?
What do cell tags do?
Below is a screenshot of what I mean. I'd like it to show only the headers of the notebook, not each and every single markdown block. Is there a similar way to changing this, like in JupyterLab, where you can toggle different outline options?
A cell output in one of my Jupyter notebooks has a vertical scrollable side bar. When I added this notebook to my GitHub repository, the full output (which takes up a lot of space) was displayed. Is it possible for GitHub to display the cell output with a sidebar?
Below is a minimal working example illustrating the problem. Here is a screenshot of a cell in a Jupyter Notebook that has a scrollbar:
If this notebook is converted to HTML via jupyter nbconvert --to html name.ipynb and viewed in a browser (to replicate publishing and viewing the notebook on GitHub), then the output looks like this (there is no scrollbar):
I found the following related links, but no one has posted a solution yet:
How to get a vertical scrollbar in HTML output from Jupyter notebooks
How to add a vertical scrollbar in html output from jupyter notebook with nbconvert?
Any help would be appreciated!
How can I change the text color or the cell background for a markdown cell in Emacs IPython Notebook?
Text in markdown cells is the same color as code. This makes it difficult to navigate the page. I can't easily differentiate what cells are code and which are annotations.
As a workaround, I've been using code cells with comments. The comments (in my theme) are green and they stand out nicely. But this makes the final notebook look disorganized.
You might be able to achieve this with themes in polymode, but there is a post over on the Emacs Stackexchange suggesting that this isn't how themese work and that it may only be possible for the background.
I have a jupyter notebook with ipython widgets. It'd be nice if the widgets were above the code, is this possible with any extension?