pwd_styling | R Documentation |
Add PWD styling to kable functions
pwd_styling(kable, options = c("striped", "bordered"), ...)
kable |
the kable that you with to style |
options |
the options to be passed to latex_options or bootstrap_options
arguments in |
... |
additional params to be passed to |
This function will add styling to your kable tables used in Rmarkdown
documents. It will add the "striped" option to the table and make the
background of the column names PWD blue with white font. In pdf outputs
it will also change the background color of the striped rows. If you
are knitting to an HTML document than you will need to use the
set_pwd_styling
.
It is important to note that if you use this function, than you must
pass all other arguments intended for kable_styling
to this function. Currently, you can not use the kable_styling function
on a kable that it has previously been applied to.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.