Adding a downloadable to a tag #6651
-
so i wanted to know how i can add an example that can be downloaded through a tag simmilarly to the one in https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#tag-icons-and-identifiers To be more exact, this: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @MetalKnight56, and replaced with the appropriate content. |
Beta Was this translation helpful? Give feedback.
Hello @MetalKnight56,
this functionality is custom to the Material documentation. It's currently not exposed in any straightforward way.
However, you can replicate it on your own #6544 (comment)
The
<!-- md:example tags-with-icons -->
shortcode is processed via theshortcodes.py
hook:mkdocs-material/src/overrides/hooks/shortcodes.py
Line 57 in ab5ccbe
and replaced with the appropriate content.