Skip to content

Material MKDocs - collapsible text without admonition #7658

Answered by facelessuser
gmoskowitzQF asked this question in Q&A
Discussion options

You must be logged in to vote

I assume you could just add a bit of styling to target non-admonition style details

details:not([class]) {
  all:  revert !important;
}
details:not([class]) > summary {
  all:  revert !important;
}

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@facelessuser
Comment options

Answer selected by squidfunk
@squidfunk
Comment options

Comment options

You must be logged in to vote
5 replies
@kamilkrzyskow
Comment options

@gmoskowitzQF
Comment options

@kamilkrzyskow
Comment options

@gmoskowitzQF
Comment options

@kamilkrzyskow
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants