- Notifications
You must be signed in to change notification settings - Fork0
Dynamically generate tabset panels in Quarto HTML documents
License
Unknown, MIT licenses found
Licenses found
sayuks/quartabs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Thequartabs is an R package that dynamically generatesTabsetPanelsin Quarto HTML documents.
You can installquartabs from CRAN:
install.packages("quartabs")You can install the development version ofquartabs fromGitHub with:
# install.packages("pak")pak::pak("sayuks/quartabs")
render_tabset() takes a data frame as input and outputs the markdownthat generates thetabsetto stdout (console).
In the actual .qmd file, specify the chunk optionresults: asis.
library(quartabs)data.frame(tab= c("A","B"),value= c("Tab content for A","Tab content for B"))|> render_tabset(tab,value)#> ::: {.panel-tabset}#>#> # A#>#> Tab content for A#>#> # B#>#> Tab content for B#>#> :::
SeeGetstartedfor details.
Please note that the quartabs project is released with aContributorCode ofConduct.By contributing to this project, you agree to abide by its terms.
About
Dynamically generate tabset panels in Quarto HTML documents
Topics
Resources
License
Unknown, MIT licenses found
Licenses found
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.