You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful if the default [panel-name] could be altered at the page or website level. For example, it would be great if one could create a dropdown box to set the default [panel-name], allowing users to change language-specific code for example.
The text was updated successfully, but these errors were encountered:
gadenbuie
changed the title
Feature request: dynamically changing the default [panel-name]
Feature request: Synchronized panelsets
Jul 8, 2022
Here's how I see this working. Authors have to opt into synchronized panels by adding a .synchronized class to the panelset. Then, whenever the user selects a panel tab in a synchronized panelset, any other panelsets in the document will switch to the panel tab with the same name as the selected tab. The key being that the panel tab name needs to be identical.
Here's a small example. There are two panelsets, they each have tabs named R and Python and they each demonstrate similar code in the respective languages (example from vetiver docs).
Thanks! That sounds like a good approach to me. I was wondering if this has any effect on the compatibility in R Markdown? I use the fenced divs and I don't know if this method translates to that?
It would be helpful if the default [panel-name] could be altered at the page or website level. For example, it would be great if one could create a dropdown box to set the default [panel-name], allowing users to change language-specific code for example.
The text was updated successfully, but these errors were encountered: