Giter VIP home page Giter VIP logo

Comments (3)

jankatins avatar jankatins commented on July 3, 2024

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.

minrk avatar minrk commented on July 3, 2024

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.

dreme avatar dreme commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.