Code Monkey home page Code Monkey logo

Comments (8)

romainmartinez avatar romainmartinez commented on June 1, 2024 2

I found a little hack. Just avoid putting an h1 tag when you don't want the numbering and replace it with a font tag.

My example would become:

<font size="+2">My notebook title</font>

Some information

# My first "real" title

> code

from jupyterlab-toc.

mhogg avatar mhogg commented on June 1, 2024

I second this request ๐Ÿ‘

from jupyterlab-toc.

YubinXie avatar YubinXie commented on June 1, 2024

I agree!

And I'd like to thank the developers to add index function to Jupyter toc!!!

from jupyterlab-toc.

dturaev avatar dturaev commented on June 1, 2024

Agreed, excluding some headers from the table of contents would be a very useful feature.

from jupyterlab-toc.

gh4ag avatar gh4ag commented on June 1, 2024

In notebooks, using <span><h1></h1></span> used to effectively exclude the header from TOC and TOC numbering. Not anymore since jupyter lab 3.0.

Actually, it still does exclude it when I refresh the entire web page. But it puts the numbers back when I switch notebooks with the jupyter lab interface. Strange...

Any updates?

from jupyterlab-toc.

pierre-haessig avatar pierre-haessig commented on June 1, 2024

Is it fine to say that the Jupyterlab PR #9994 merged on 2021-06-22 effectively closes this issue? Or should we wait for a nice UI to set the newly introduced setting numberingH1?

from jupyterlab-toc.

fcollonval avatar fcollonval commented on June 1, 2024

Yes this is indeed close by the mentioned PR. This issue is not updated here anymore as the code for the table of content is now directly in JupyterLab core and does not rely on the code of this repository.

from jupyterlab-toc.

pierre-haessig avatar pierre-haessig commented on June 1, 2024

Ah yes. Since I didn't land on the project home page, I didn't see the "Archived" banner in the README. The merge with core JupyterLab is good news for me.

from jupyterlab-toc.

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.