Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap classes for quarto #575

Open
2 tasks
astrowonk opened this issue Jan 5, 2025 · 1 comment
Open
2 tasks

Bootstrap classes for quarto #575

astrowonk opened this issue Jan 5, 2025 · 1 comment

Comments

@astrowonk
Copy link

astrowonk commented Jan 5, 2025

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.

@rich-iannone
Copy link
Member

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants