The goal of quartoExtra is to collect upgrades to quarto, such as df_print and dark/light mode toggling.
You can install the development version of quartoExtra from GitHub with:
# install.packages("devtools")
devtools::install_github("debruine/quartoExtra")
Since this only works with quarto projects (not github readmes or pkgdown sites), see the Quarto Demo website for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.