How to add indicator to alternate tabbed style? #3091
-
PyMdown Tabbed added an alternate tab style with a scrollable label bar, which is nice for mobile devices. It is supported by MkDocs material and the old style will be deprecated with next release: https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#tabbed The new style supports visual indicators via JavaScript: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#alternate-style |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 27 replies
-
As far as I am aware, Material does not yet provide JS indicators OOTB. Though, it should be easy enough to pull it from the Pymdown Extensions examples in its documentation. |
Beta Was this translation helpful? Give feedback.
-
Thanks guys. I implemented it now like that: https://github.com/MichaIng/DietPi-Docs/pull/587/files
I hope this helps to further polish things. |
Beta Was this translation helpful? Give feedback.
As far as I am aware, Material does not yet provide JS indicators OOTB. Though, it should be easy enough to pull it from the Pymdown Extensions examples in its documentation.