# Is it possible to have a Table of Contents (ToC) on the left of the page?

**URL:** <https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888>\
**Category:** Help\
**Created:** [August 2, 2022, 6:24am UTC](https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888 "2022-08-02T06:24:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![scarlettlee](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/scarlettlee/32/6774_2.png) [@scarlettlee](https://talk.observablehq.com/u/scarlettlee)\
**Post date:** [August 2, 2022, 6:24am UTC](https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888/1 "2022-08-02T06:24:22Z")

</div>

Hello all,  
I have seen the tool to make toc in the page.  
import {toc} from “@nebrius/indented-toc”

But what if I want a toc docked on the left of the page which would not move with mouse?

Thanks.  
Scarlett

---

<div class="post-metadata">

**Author:** ![Cobus](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/cobus/32/9670_2.png) [@Cobus](https://talk.observablehq.com/u/Cobus)\
**Post date:** [August 2, 2022, 6:38am UTC](https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888/2 "2022-08-02T06:38:25Z")

</div>

Yup, that would be great. You may want to add your thoughts to the existing feature request here: [Auto-Create a "Table of Content" · Issue #67 · observablehq/feedback · GitHub](https://github.com/observablehq/feedback/issues/67)

---

<div class="post-metadata">

**Author:** ![scarlettlee](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/scarlettlee/32/6774_2.png) [@scarlettlee](https://talk.observablehq.com/u/scarlettlee)\
**Post date:** [August 2, 2022, 6:50am UTC](https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888/3 "2022-08-02T06:50:26Z")

</div>

Hi Cobus, Thank you for the suggestion. I have post it on the page.

---

<div class="post-metadata">

**Author:** ![tophtucker](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/tophtucker/32/4781_2.png) [@tophtucker](https://talk.observablehq.com/u/tophtucker)\
**Post date:** [August 2, 2022, 6:03pm UTC](https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888/4 "2022-08-02T18:03:37Z")

</div>

Just in case you haven’t seen it — we do have a minimap sidebar pane, opened with this button on the right, which lists the names of cells (and shows connections between them if a cell is focused):

 ![5FAED887-38EA-48F5-8A79-3A8B28B1C692-917-00005A6980D8C09D](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/d/dd7f1b032c016d5f385e2aed75d8c3192255d484.png)

But yeah, it doesn’t show headings, like from Markdown.

---

<div class="post-metadata">

**Author:** ![scarlettlee](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/scarlettlee/32/6774_2.png) [@scarlettlee](https://talk.observablehq.com/u/scarlettlee)\
**Post date:** [August 4, 2022, 6:49am UTC](https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888/5 "2022-08-04T06:49:01Z")

</div>

Hi tophtucker, thank you for the information that I didn’t know. It more or less can help me finding my target cells efficiently.

---

<div class="post-metadata">

**Author:** ![shadoof](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/shadoof/32/4231_2.png) [@shadoof](https://talk.observablehq.com/u/shadoof)\
**Post date:** [August 21, 2024, 5:03pm UTC](https://talk.observablehq.com/t/is-it-possible-to-have-a-table-of-contents-toc-on-the-left-of-the-page/6888/6 "2024-08-21T17:03:21Z")

</div>

Reviving this, rather than starting a new discussion since the notebook I’m sharing was based on the Table of Contents function by @mbostock [@mbostock/toc](https://observablehq.com/@mbostock/toc). For anyone who is writing a lot of Markdown text and would like it to have a cell of numbered endnotes which are automatically updated and renumbered regardless of composition order, please check out [NBS: numbered endnotes: @shadoof/nbs](https://observablehq.com/@shadoof/nbs).
