createTableOfContents({ selector: '#outline-demo-pages', scrollFn }) from @melt-ui/svelte; the headings come from <Paper.Headings />.

Waiting for headings…