Open mbostock opened 1 month ago
The OP was also about referencing H2 and H3. One way to do so would be to make the selector configurable—currently it's set here https://github.com/observablehq/framework/blob/9c1d5ca61c931083f78833ca28275c96a7dadb86/src/render.ts#L175
But opening this might make things too complicated. One issue with multiple levels in the TOC is that the hierarchy needs to be reflected visually.
@Fil i think that should be a separate issue, if we want the TOC to be configurable.
As an alternative:
Or: