question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It is common to start a notebook with a title, like:

# My notebook title

Some information

## My first "real" title

> code

Here, I don’t want the title of the notebook to be numbered.

An interesting feature of the ToC 2 extension was to skip the h1 headers in the automatic numbering.

Is it possible to do the same with jupyterlab-toc? If not, is it a feature that could be included in the road map?

Thank you.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:33
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
romainmartinezcommented, May 23, 2019

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
0reactions
pierre-haessigcommented, Sep 28, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Skip Heading Tags: <h2> tag without <h1> tag - Stack Overflow
The headings in your web page should always begin with an <h1> tag because it describes the overall content of your page. Also,...
Read more >
Headings | Web Accessibility Initiative (WAI) - W3C
The most important heading has the rank 1 ( <h1> ), the least important heading rank ... Skipping heading ranks can be confusing...
Read more >
Will skipping <H> tags affect your SEO? - Moz
I've ranked pages with one H1, a bunch of H3 and no H2. Headlines are useful to organize content for users, they don't...
Read more >
H1 Headings: Over 50% of SEOs Doing it Wrong?
Does Google Recommend Using One H1 Heading for SEO? ... Your site is going to rank perfectly fine with no H1 tags or...
Read more >
<h1>–<h6>: The HTML Section Heading elements
Do not skip heading levels: always start from <h1> , followed by <h2> and so on. Avoid using multiple <h1> elements on one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found