elviswolcott / remark-admonitions

Add admonitions support to Remarkable
MIT License
110 stars 19 forks source link

Feature Request: Collapsible Admonition blocks. #44

Open TomPeirs opened 2 years ago

TomPeirs commented 2 years ago

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 commented 2 years ago

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