jupyter扩展插件安装
1.安装
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install jupyter_nbextensions_configurator -i https://pypi.tuna.tsinghua.edu.cn/simple
2.配置
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user
退出,重新进入jupyter notebook即可
下面是jupyter上需要勾选的选项,将table of contents(2)勾选之后即可使用安装的插件,该插件的功能是左侧可以展示目录,方便查看与学习。
jupyter选项勾选设置
注意⚠️:
1、在编辑好标题的markdown文档之后,也要运行之后,才会在左侧目录栏显示出来;shift + 回车 是运行的快捷键。
2、目录会自动调整好序号顺序。