great-tables icon indicating copy to clipboard operation
great-tables copied to clipboard

Bootstrap classes for quarto

Open astrowonk opened this issue 11 months ago • 1 comments

Prework

Proposal

opt_stylize is useful but when integrate a great_table into a quarto blog, I want to access bootstrap table classes and have the table look like a bootstrap table. I want it to have a boostrap class, I want to be able to color cells with Primary Secondary bootstrap classes, etc.

There is a hidden quarto_use_bootstrap parameter I keep seeing in the codebase but I can't tell what this does or where one should pass it - it is not in the documentation.

astrowonk avatar Jan 05 '25 19:01 astrowonk

Thanks for submitting this issue. It's a good one, and something that was overlooked. As mentioned on Discord, we might approach this by first having a tab_class() method. With that we can declare classes in a similar manner as with tab_style(). Once that's in place, it'll be easier to make an enhanced opt_stylize() (or something analogous to that).

rich-iannone avatar Jan 06 '25 20:01 rich-iannone