Skip to content

Custom admonition icons in mkdocs-material #1383

Discussion options

You must be logged in to vote

There may be a little confusion here. Pymdown Extensions offers a plugin called Details that works like Admonitions (except that Details are collapsible). The Details extension was inspired by Admonitions, but we do not distribute the Admonitions extension in our project. Also, styling is provided by themes like MkDocs Material or the user themselves. We do not offer any auto-styling.

So, if we are talking about Details, you can define an empty title:

???+ note ""
    Some Text

As far as Admonitions, you can ask this over on the Python Markdown repo. It seems that currently if you specify an empty title (no whitespace), the title element is not inserted in the final HTML. If this is con…

Replies: 1 comment

Comment options

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