Closed
Description
Our custom Astro pages in pages/ (not the Starlight pages in content/docs) display the StarlightPage component.
In all of them we are disabling the table of contents. This is because starlight doesn't recognize the <h2>
, <h3>
etc headings to place them automatically in a table of contents.
See the scripting introduction article https://wiki.preview.multitheftauto.com/articles/scripting-introduction which is a regular starlight page to see how the table of contents is generated from markdown headings and works fine.
see the issue I opened at starlight repo: withastro/starlight#3234