Material MKDocs - collapsible text without admonition #7658
-
I am using the following code to create a drop-down list:
So when you click "Maintenance" it drops down a list of the items below it (Exceptions, Items, etc.). MaintenanceExceptionsItems Vendor Items Vendors How do I create the drop down list without the admonition? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Currently not possible. Material for MkDocs applies the style to |
Beta Was this translation helpful? Give feedback.
-
Is there any other way to achieve what I want - to get a collapsible line of text without it being an admonition? |
Beta Was this translation helpful? Give feedback.
-
Can you please show me where to put your "details:not([class])" text in my existing code? I'm not sure where to put it. Thanks. This my current code:
|
Beta Was this translation helpful? Give feedback.
-
Cannot thank you enough @kamilkrzyskow !! |
Beta Was this translation helpful? Give feedback.
I assume you could just add a bit of styling to target non-admonition style details