right now, the TOC is entirely a MDX component. This is great because it's so simple to set up. No need to organize the data on one hand and render it on the other. But there's only one level of indentation and no way to collapse sections etc.
opening this issue to consider if there are better ways to do that.
right now, the TOC is entirely a MDX component. This is great because it's so simple to set up. No need to organize the data on one hand and render it on the other. But there's only one level of indentation and no way to collapse sections etc.
opening this issue to consider if there are better ways to do that.