Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Collapsible Admonition blocks. #44

Open
TomPeirs opened this issue Nov 26, 2021 · 1 comment
Open

Feature Request: Collapsible Admonition blocks. #44

TomPeirs opened this issue Nov 26, 2021 · 1 comment

Comments

@TomPeirs
Copy link

It would be interesting to enable admonitions to be collapsible.

Perhaps we could draw inspiration from the following:
https://squidfunk.github.io/mkdocs-material/reference/admonitions/#collapsible-blocks

Instead of defining 3 colons ::: we could define 3 question marks ??? and then they are collapsible (collapsed by default)
Only the title would be shown, and an arrow indicator on the right of the admonition shows the user that it is possible to expand the admonition.

@homotechsual
Copy link

Yes please - this would really assist me in migrating documentation sites from mkdocs-material to Docusaurus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants