collapsible admonitions
Comp Labs
You mean an Accordion, right? - https://mui.com/material-ui/react-accordion/
Joshua Chen
> keep the nice Admonitions feature
What kind of "nice feature" are you talking about? If you are talking about the syntax, you can use the same admonition syntax but provide your own admonition theme implementation, as instructed here: https://docusaurus.io/docs/markdown-features/react#mdx-component-scope If you want the "note" color, you can swizzle
details
and render different color/icons based on a prop.