Skip to content
Discussion options

You must be logged in to vote

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 the shortcodes.py hook:

elif type == "example": return _badge_for_example(args, page, files)

and replaced with the appropriate content.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MetalKnight56
Comment options

Answer selected by MetalKnight56
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