问题
I like the gitbook style in general, but some tables (particularly regression tables) look awful on it. How do I make specific tables in my document (not all of them) render as per the default bootstrap style?
I suspect this can be done by defining a custom css class and then modifying the function that creates the regression table to include that custom class, but I'd like to know if there's a more elegant or simpler way.
If I use bookdown::gitbook
to render my Rmd file, it looks like the one on the left, which just looks broken. If I use bookdown::html_document2
or bookdown::html_book
, it looks like the one on the right, which is what I want. I prefer how gitbook renders everything else though.
来源:https://stackoverflow.com/questions/39331971/r-bookdown-gitbook-how-to-override-table-style