TOC | Mike Bostock | Observable
ojs
ojs
Author
Mike Bostock
@mbostock
Visualization toolmaker. Founder
@observablehq
. Creator
@d3
. Former
@nytgraphics
. Pronounced BOSS-tock.
Comments (3)
Jacob Rus
Apr 1, 2021
Unfortunately, in Safari (at least v. 14) `h.scrollIntoView()` does not work for elements inside an iframe, as with Observable notebook content. I wonder if there is a reasonable workaround.
Brett Cooper
Mar 10, 2022
The links generated only work in the opened notebook. If the link is used to open in other tab then the links don't work. Example:
https://observablehq.com/@ambassadors/awesome-notebooks#data-management
doesn't work when opened in new tab or shared outside the notebook. The reference for those cases is
https://observablehq.com/@ambassadors/awesome-notebooks#cell-386
Reply
Mattias Villani
Mar 26, 2023
I think toc("h2,h3") would make more sense here, to exclude the title from the TOC. Or even better, let the default be selector = "h2,h3".
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Mike Bostock
53
Reply
Reply
Add comment
Subscribe to notifications
24
TOC | Mike Bostock | Observable