Replies: 2 comments 5 replies
-
You could probably do this with Javascript and attach some events to the radio boxes that are used to change the tabs. Every time a tab is changed, you'd just have the JavaScript update the others on the page. Theoretically, you could also save that state in localstorage and retrieve that info on page load and carry that state across all pages. Whether Material itself would want to ship such functionality in the theme is another question. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Linked content tabs are available as of Insiders 2.9.0! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for
mkdocs-material
which makes it super easy for developers to impress and delight end-users with clean documentation.I had a question on content tabbing.
Is there a way to create "sticky content tabs" as follows?
When I choose "C" in hello world section on top, I also want "C" to be chosen in the good bye world section at the bottom. Ditto for C++.
Hello world
=== "C"
=== "C++"
Intervening material
A bunch of text here... because ... there are other things that intervene... and need to be said.
Goodbye world
=== "C"
=== "C++"
Beta Was this translation helpful? Give feedback.
All reactions