Comments (6)
Are the extension installing instructions up to date?
Probably not... you could probably install it in the old way or use the new IPython API to install the nbextension... we need to update it, labelling as enhancement...
Could this also be applied top the extensions here?
Yes, I don't see problems... although, maybe, some of them would need some configuration to be loaded in the custom.js too...
from jupyter_contrib_nbextensions.
Good topic.
I think we should move to $(ipython locate)/nbextensions/
and use the new api, eventually.
But this alone does not make it much easier to install and use an extension. You still have to dig into different documentation snippets (sometimes slightly outdated like ours right now) and often also modify the extension .js file to correct the path of a css file. And you need to look at the Javascript output to find out what is going wrong.
In addition to better documentation, I would like to have a script or notebook that installs all or a selected extension and activates/deactivates it in the right custom.js
file. I have a notebook that is not quite ready. It searches for custom.js
, creates a list of extensions and can also download latest master version from IPython-contrib.
Also, as most extensions seem to load css files now, should we use require
as minrk is using in load_css()
here: https://github.com/minrk/ipython_extensions/blob/master/nbextensions/toc.js ?
from jupyter_contrib_nbextensions.
I like the idea of a notebook that select and install the extensions...
About he css... I am using something like that here: https://github.com/ipython-contrib/IPython-notebook-extensions/blob/master/styling/zenmode/main.js#L59
Not exactly the same, but it follows the same idea... I think it can be done in multiple ways...
from jupyter_contrib_nbextensions.
Here is the notebook: https://gist.github.com/juhasch/d8f73f5fd32a66ce7444
Works best with codecells hidden :-)
It tries to find the active custom.js
file, loads and displays all IPython.load_extensions('')
entries.
Using widgets you can activate/deactivate these entries. Right now, new extensions need to be added manually.
It can also install current IPython-notebook-extensions
-master from Github in the local nbextensions
directory.
from jupyter_contrib_nbextensions.
I have updated the installation instructions in the Wiki to reflect the current state-of-the-art.
from jupyter_contrib_nbextensions.
Thanks @juhasch, I think we can close it until we need a new update π
from jupyter_contrib_nbextensions.
Related Issues (20)
- Support for python 3.11 HOT 3
- nbextensions compatibility with notebook-6.5.3. HOT 4
- Error [jupyter_nbextensions_configurator] error loading toggle_all_line_numbers/mainf
- python-markdown new install fails to render {{var}}. Browser error 'TypeError: marked is not a function ' HOT 10
- Is this project on stand-by or near to being abandoned in front of new versions of conda or jupyter notebook? HOT 1
- [collapsible_headings] When using jupyter_server + nbclassic, collapsible headings not working
- Linux installation issues: nbconvert version
- install nbextensions in \site-packages\jupyter_contrib_nbextensions HOT 1
- extensions does not work or only work once
- jupyter_contrib_nbextenions appears to be incompatible with Jupyter Notebook v7. HOT 6
- all the extensions are failed loading HOT 2
- Installation fails on up-to-date JupyterLab installed with `conda -c conda-forge`
- TOC extension is hiding below toolbar HOT 5
- Autoscroll from NBEXTENSIONS not working
- Code Font Size donβt work
- nbextensions conda installation problem HOT 1
- Python markdown not getting variables values
- '"...\MyEnv\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command, operable program or batch file.
- Incompatible with Jupyter Notebook v7.0.6 HOT 3
- load config section forbiddened HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter_contrib_nbextensions.