Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does tabset not work at the h4 level? #416

Open
DataStrategist opened this issue Feb 8, 2023 · 1 comment
Open

does tabset not work at the h4 level? #416

DataStrategist opened this issue Feb 8, 2023 · 1 comment

Comments

@DataStrategist
Copy link

Perhaps related to this issue, but I think different enough to merit a new issue:

I'm struggling to add a tabset at the h4 granularity. Take a look at this code:

    ---
    title: "report x"
    output: 
      flexdashboard::flex_dashboard:
        orientation: rows
        vertical_layout: fill
    ---
    
    
    ```{r setup, include=FALSE}
    suppressPackageStartupMessages(library(flexdashboard))
    library(htmltools)
    ```
    
    # page1
    
    ```
    
    ## Row 2
    
    ### Chart 4 {.tabset .tabset-fade}
    
    ```{r}
    ```
    
    #### Subchart 4.1
    
    ```{r}
    ```   
     
    #### Subchart 4.2
        
    ```{r}
    ```
    
    ## Row 3 {.tabset .tabset-fade}
    
    ### Chart 5
    
    ```{r}
    ```
    
    ### Chart 6
    
    ```{r}
    ```

Which creates the following (Note Figure 4 isn't obeying the tabset):

image

Here, you can see that even though Figure 4 is allowed to consume the entire row (as is the case w/ the h3 around it), the tabset still doesn't work. In trying to figure out the limitations around tabset, is it the case that h4 entities will never work with the tabset?

@gadenbuie
Copy link
Member

Another example from #392:

Is there a way to get Tabsets in Commentary just like this: example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants