quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.71k stars 303 forks source link

Make Value Boxes possible outside of format: dashboard #8475

Open mcanouil opened 7 months ago

mcanouil commented 7 months ago

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/8413

Originally posted by **gl2324** January 24, 2024 ### Description I really like the look of the [Value Boxes added in Version 1.4](https://quarto.org/docs/dashboards/data-display.html#value-boxes) Right now it is not possible to add them in the following way when the format is not dashboard. ```{python} #| content: valuebox #| title: "Articles per day" #| icon: pencil #| color: primary dict( value = articles ) ``` I know there is a way through using [R and the bslib-package](https://rstudio.github.io/bslib/articles/value-boxes/) but I don't have access to R. Is there an easy way to achieve this or will it be possible in 1.5?
mcanouil commented 1 month ago

Same enhancement for cards.