This would make life a lot easier! +1 for this feature. I don't know what framework they're using for their UI or if they are using one, but Material UI has the accordion component: https://material-ui.com/components/accordion/. I'm sure there's ready made stuff out there that could be brought in or adapted to the markdown structure.