Skip to content

Conversation

@patrickd-galil
Copy link

This implements one of my favorite features in Material for MkDocs.

By adding the linked class to your tabbed div, any other sets of the same tabs will stay in sync when you change tabs. This is site-wide.

Also, the resize logic didn't seem to be compatible with my approach.

I don't think this code is super high quality (I'm not a web developer), but hopefully this is a good starting point, as I think this feature can be super useful. In my case, I have a bunch of examples that are implemented in multiple languages, and I don't want readers to have to choose their language more than once.

@jothepro jothepro self-requested a review February 10, 2025 21:01
@jothepro jothepro added the enhancement New feature or request label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants