天天看点

为Jupyter只安装目录的扩展包

项目地址:<code>https://github.com/minrk/ipython_extensions/tree/master/nbextensions</code>

一般都是让安装<code>Nbextensions</code>,而这些扩展我只需要目录相关的扩展,那有什么办法单独安装吗?

==&gt; Jupyter4.x之后就提供了这个功能:

保证jupyter关闭的前提下,先下载两个扩展文件,然后再执行:

地址:https://raw.githubusercontent.com/minrk/ipython_extensions/master/nbextensions/toc.js 地址:https://raw.githubusercontent.com/minrk/ipython_extensions/master/nbextensions/toc.css
为Jupyter只安装目录的扩展包

效果:

为Jupyter只安装目录的扩展包

附录:防止失效或被恶意改动,我这边留份快照

toc.css

toc.js

作者:毒逆天

出处:https://www.cnblogs.com/dotnetcrazy

打赏:<b>18i4JpL6g54yAPAefdtgqwRrZ43YJwAV5z</b>

本文版权归作者和博客园共有。欢迎转载,但必须保留此段声明,且在文章页面明显位置给出原文连接!