great-tables
great-tables copied to clipboard
Bootstrap classes for quarto
Prework
- [ ] Read and abide by the great_tables code of conduct and contributing guidelines.
- [ ] Search for duplicates among the existing issues (both open and closed).
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.
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).