-
Please Help~ |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
These tags are a customization of the Material documentation. They are not a feature of Material itself. If you are a sponsor then you can look at the implementation here. Essentially, you would configure an There was a similar discussion the other day but I cannot seem to find it just now, will add if I do. |
Beta Was this translation helpful? Give feedback.
-
I was able to get a version of this working using the badges plugin. Combined with the magic link extension I can write something like this: |:material-tag:|#499| And it renders like this: And is clickable and takes me to my pull request matching that number. |
Beta Was this translation helpful? Give feedback.
-
The badges plugin is nice, however, the ones used in the mkdocs material documentation have a very small footprint. So after a few hours of messing with the hooks, I was able to implement it. Would be nice to get it as a feature one day, but for now, this works good. Just a matter of getting the icons right. For icons that small, I tried Fontawesome 6's duo-tone, and they seem too small for that type of font. |
Beta Was this translation helpful? Give feedback.
In fact, the implementation is part of the community repository, so you don't need to be a sponsor to take and adapt our custom hook☺️ Other discussion was at #6020. We might generalize this in the future to ship it as a native component, but we currently have other priorities. Will re-evaluate in the future if more users need it.