TOC | Mike Bostock | Observable
•ojs
•ojs
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
Observable
Sign in
Mike Bostock
53
Reply
Reply
Add comment
Subscribe to notifications
24
TOC | Mike Bostock | Observable