Jupyter is very useful, but there are times when I wish I had this feature.
In such a case, it is an extension.
Jupyter has Notebook extensions, which allow you to extend the functionality.
The fact that there are extensions on the official website is a little, but it's fine to use some. Convenient.
If you use Jupyter but not extension, please give it a try.
Jupyter notebook extensions A repository of extensions that add functionality to Jupyter is available on GitHub.
https://github.com/ipython-contrib/IPython-notebook-extensions
This repository is convenient because you can switch between activate / deactivate the extension from your browser.
It seems to be developed by a group unrelated to the official IPython developer team.
pip install pyyaml
git clone https://github.com/ipython-contrib/IPython-notebook-extensions
cd IPython-notebook-extensions
sudo python setup.py install
After the installation is complete, open the configuration screen and enable the extension you like.
The configuration screen can be opened by running Jupyter notebook and accessing localhost: 8888 / nbextensions /
from a browser.
jupyter-vim-binding extension People who usually use vim feel stressed if they can't use vim key bindings.
There is an extension called jupyter-vim-binding for those people.
It is not included in the previous repository, but you can enter it independently from the following repositories. A demo image is also on GitHub.
https://github.com/lambdalisue/jupyter-vim-binding
You can install it directly or install it by incorporating it into IPython-notebook-extensions.
This time I will install with the latter.
cd $(jupyter --data-dir)/nbextensions/usability
git clone https://github.com/lambdalisue/jupyter-vim-binding.git vim_binding
chmod -R go-w vim_binding
Once installed, enable it from localhost: 8888 / nbextensions /
.
Please note that some of the original keyboard shortcuts may not be available.
NbExtensions menu item
Add a button to the Edit menu to open localhost: 8888 / nbextensions /
.
Let's enable this for the time being.
Code Font Size Add a button to the toolbar that allows you to increase / decrease the font size of your code.
Codefolding You can fold the code in the cell.
Comment/Uncomment Hotkey Add a shortcut to comment / uncomment.
Drag and Drop Drag and drop the image to insert it into your note.
The image is copied to the same directory as the notebook and inserted by referring to it.
There is a demo video on youtube.
http://youtu.be/buAL1bTZ73c
Equation Auto Numbering Enter the formula number in the formula. A button to show / hide the formula number is also added.
Table of Content The content table is displayed like this.
zenmode Use when the menu bar is in the way.