Skip to content

Bootstrap styles for data frame (instead of kable, knitr) #654

Answered by jjallaire
sarahcnyt asked this question in Q&A
Discussion options

You must be logged in to vote

We currently automatically assign the table-sm and table-striped classes to markdown tables (including ones in results). In turn, kable should be producing markdown tables by default so you should see these classes applied (unless you've explicitly turned on HTML output or are using e.g. kableExtra). It's on our list to make these classes customizable (e.g. opt out of these styles and/or add other styles).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sarahcnyt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants