Closed Brilator closed 1 year ago
It is possible to use up to third level headers in the sidebar.
https://nfdi4plants.github.io/web-components-docs/docs/SupportedStaticSiteGenerators.html#sidebar
https://nfdi4plants.github.io/web-components-docs/docs/WebComponents.html#nfdi-sidebar-element
Eh, yes. Forgot about that. I meant to build it automatically. But that's a different issue as the sidebar titles are also independent of article titles.
Well and I meant to have those sub-sections dynamically only show in the sidebar as long as the article is open.
Currently, you would need to add a sidebar for each article. With it's own sidebar toc.
Is it possible to add the TOC (limited to first / second level) to the sidebar? So the reader can directly jump to subsections from the sidebar?