warpdotdev / warpdotdev/warp

Support Table of Contents block in Notebooks

Open
#4,720 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:warp-drive enhancement triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

No response

Describe the solution you'd like?

I have some long notebooks, and would love the ability to have an automatically updating table of contents at the top. Preferably this would be a block type that I could add if I choose. This should work like the ToC block in Notion, where each header is automatically added at the correct indentation. Clicking on an item in the ToC jumps directly to the heading in the notebook.

Is your feature request related to a problem? Please describe.

It should be faster to browse to a specific section of long notebooks.

Additional context

No response

How important is this feature to you?

2

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue, so start by locating the notebook block and heading-rendering entry points. Define the expected behavior for an automatically updating table of contents, including heading indentation and navigation to each heading, then verify it in a long notebook with nested headings.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.