Skip to content
Discussion options

You must be logged in to vote

Hello,
for the { .md-button } syntax to work you need to enable the attr_list markdown extension, and the {} syntax is not exclusive for mkdocs-material, only the md-button class is directly related to it.

site_name: My Docs
theme:
  name: material
markdown_extensions:
  - attr_list

https://squidfunk.github.io/mkdocs-material/reference/buttons/#configuration
https://python-markdown.github.io/extensions/attr_list/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by noeldum
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