Comments (3)
I see three version how this could be solved:
- remove the magics version of ToC
- raise a exception with the proper "replacement message" in the nbtoc magic
- replace the css and js files it with the files in nbextension
I can prepare a PR for all three, just tell me what you want :-)
from ipython_extensions.
I'm AOK with removing the magics version. I haven't used it since the js version was introduced ages ago. There is one advantage of the magic one, though - it works in nbviewer (or, it did when it worked).
from ipython_extensions.
My TOC nbextension is also not working properly (Win7, Anaconda 2.2 python distro, ipython 3.0.0, chrome browser). The ToC button contains no text, and the ToC widget itself doesn't display the headings - only the "Contents [-]" title is visible, with a small graphic icon below which looks like it might be a list scroll slider. I guess it is just not detecting the heading cells in my notebooks.
I gather from the discussion above that the solution is to remove the 'magics version of ToC'. How exactly do you do that?
[EDIT: OK, it's working now, after the 4th attempted reinstall. I have no idea why, but am happy to see it back! It would be great if this excellent extension was just baked into ipython notebook]
from ipython_extensions.
Related Issues (20)
- TOC doesnt load? HOT 26
- Gist button: problem grabbing notebook JSON code HOT 3
- ToC does not update on cell execution HOT 2
- TypeError: IPython is undefined toc.js:136:8 HOT 3
- Two install instructions for ToC HOT 1
- Load timeout for modules HOT 3
- contribute the nbextensions (at least toc) to ipython-contrib/IPython-notebook-extensions HOT 6
- Jupyter notebook 4 hangs with TOC extension HOT 8
- How can I contribute to the table of content extension?
- feature request: show/hide table of contents with a shortcut HOT 1
- Typo in TOC install commands
- Duplicates entries after each save/refresh HOT 1
- floating TOC is too small
- string including "] will cause In[*] problem
- Question: Will some of the extensions, like ToC, gist work w/ custom kernels? HOT 2
- install renumber-button via URL?
- Error on install HOT 1
- making margin width configurable
- Headings for TOC no more supported HOT 1
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 ipython_extensions.