How to add "chips"? #4725
-
Hello, I am looking for a way to add what is called "chips" in Material: I got inspired by the Seaborn changelog, where each change is "tagged" with one or multiple such chips: Would there be a way to achieve something similar with Material for MkDocs? Thank you very much! Richard |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I could see this easily being done with existing plugins and a little CSS. Using the |
Beta Was this translation helpful? Give feedback.
-
Thank you, this actually solves my problem! |
Beta Was this translation helpful? Give feedback.
I could see this easily being done with existing plugins and a little CSS. Using the
attr_list
extension you could add a special class to something like a bold word:**Feature**{.chip-feature}
. Then you just need a little styling.